summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-29 18:38:57 (GMT)
committerBrett Cannon <brett@python.org>2012-04-29 18:38:57 (GMT)
commit6818832ff63e39cbb058d14e10bfadf7afadfb7f (patch)
treeb35472094ef403a1c49eaf2420c2cc66b494cedc /Lib
parent62228dbd6c3b7be4199756c42a21429664c053e6 (diff)
parent89c4eef435addb2db972304d715793e224307886 (diff)
downloadcpython-6818832ff63e39cbb058d14e10bfadf7afadfb7f.zip
cpython-6818832ff63e39cbb058d14e10bfadf7afadfb7f.tar.gz
cpython-6818832ff63e39cbb058d14e10bfadf7afadfb7f.tar.bz2
merge
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_float.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index 3cee383..502292f 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -860,16 +860,6 @@ class InfNanTest(unittest.TestCase):
self.assertEqual(str(1e300 * 1e300 * 0), "nan")
self.assertEqual(str(-1e300 * 1e300 * 0), "nan")
- def notest_float_nan(self):
- self.assertTrue(NAN.is_nan())
- self.assertFalse(INF.is_nan())
- self.assertFalse((0.).is_nan())
-
- def notest_float_inf(self):
- self.assertTrue(INF.is_inf())
- self.assertFalse(NAN.is_inf())
- self.assertFalse((0.).is_inf())
-
def test_inf_signs(self):
self.assertEqual(copysign(1.0, float('inf')), 1.0)
self.assertEqual(copysign(1.0, float('-inf')), -1.0)