summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-04-29 18:17:05 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2012-04-29 18:17:05 (GMT)
commit89e6d3896af934a125e4bf07cf9cc8651e7f272a (patch)
treefdcc59fc6e67db9178f09f7289dd91636c799b10 /Lib/test/test_float.py
parent1fc3ec91cc3e86035179db3e476ae7cd36ca6716 (diff)
downloadcpython-89e6d3896af934a125e4bf07cf9cc8651e7f272a.zip
cpython-89e6d3896af934a125e4bf07cf9cc8651e7f272a.tar.gz
cpython-89e6d3896af934a125e4bf07cf9cc8651e7f272a.tar.bz2
Remove untests for non-existent functionality.
Diffstat (limited to 'Lib/test/test_float.py')
-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)