From 89e6d3896af934a125e4bf07cf9cc8651e7f272a Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 29 Apr 2012 19:17:05 +0100 Subject: Remove untests for non-existent functionality. --- Lib/test/test_float.py | 10 ---------- 1 file changed, 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) -- cgit v0.12 From 89c4eef435addb2db972304d715793e224307886 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sun, 29 Apr 2012 20:33:28 +0200 Subject: Issue #14691: indent the traceback so the example is highlighted --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f06f579..4e1f7a7 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2459,7 +2459,7 @@ copying. bytearray(b'z123fg') >>> v[2:3] = b'spam' Traceback (most recent call last): - File "", line 1, in + File "", line 1, in ValueError: memoryview assignment: lvalue and rvalue have different structures >>> v[2:6] = b'spam' >>> data -- cgit v0.12