testing/nose: Restructure to split out examples
[swc-testing-nose.git] / testing / nose / exercises / mean / exceptions / mean.py
similarity index 76%
rename from testing/nose/exercises/mean.py
rename to testing/nose/exercises/mean/exceptions/mean.py
index 7b419d6e1e869080a99431fa87c917a7ba0fb977..6046fbf226a10bdf6356a3e08be0436d3015024d 100644 (file)
@@ -3,7 +3,7 @@ def mean(numlist):
         total = sum(numlist)
         length = len(numlist)
     except TypeError :
-        raise TypeError("The list was not numbers.")
+        raise TypeError("numlist was not a list of numbers.")
     except :
         print "Something unknown happened with the list."
     return total/length