From 5a8f5fa427abb3041cba3f9ba238a19ab4d8f665 Mon Sep 17 00:00:00 2001 From: Katy Huff Date: Wed, 30 Jan 2013 08:54:27 -0600 Subject: [PATCH] removes answers accidentally added. These were flotsam/jetsam from live coding in the bootcamp. --- python/testing/test_mean.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/python/testing/test_mean.py b/python/testing/test_mean.py index b9715f4..44c3b7c 100644 --- a/python/testing/test_mean.py +++ b/python/testing/test_mean.py @@ -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) - - - - - - - -- 2.26.2