removes answers accidentally added. These were flotsam/jetsam from live coding in...
authorKaty Huff <katyhuff@gmail.com>
Wed, 30 Jan 2013 14:54:27 +0000 (08:54 -0600)
committerW. Trevor King <wking@tremily.us>
Fri, 1 Nov 2013 04:12:56 +0000 (21:12 -0700)
python/testing/test_mean.py

index b9715f48868ac2bbcbc4c7969ecb48a0cea68cc3..44c3b7c6999e9e79e9dbcbb002bdfd3b735ac66e 100644 (file)
@@ -24,22 +24,3 @@ def test_floating_mean1():
     obs = mean([1, 2])
     exp = 1.5
     assert_equal(obs, exp)
-
-def test_string():
-    assert_raises(TypeError, mean, ["one", "two", "fortyeight"])
-
-def test_inf() : 
-    obs = mean([1,2,float("inf")])
-    exp = float("inf")
-    assert_equal(obs, exp)
-
-def test_zero_elems() :
-    empty_list = []
-    assert_raises(ZeroDivisionError, mean, empty_list)
-    
-
-
-
-
-
-