1 # Writing tests for `mean()`
3 There are a few tests for the `mean()` function. What are some tests
4 that should fail? Add at least three test cases to this set. Edit
5 the `test_mean.py` file which tests the `mean()` function in
8 *Hint:* Think about what form your input could take and what you should
9 do to handle it. Also, think about the type of the elements in the list.
10 What should be done if you pass a list of integers? What if you pass a
13 You can test a particular implementation by using `PYTHONPATH`:
15 $ PYTHONPATH=basic nosetests test_mean.py
16 $ PYTHONPATH=exceptions nosetests test_mean.py