summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_long.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-10-07 23:43:44 (GMT)
committerGitHub <noreply@github.com>2020-10-07 23:43:44 (GMT)
commit4e0ce820586e93cfcefb16c2a3df8eaefc54cbca (patch)
tree62e95d644abcbc04dd6baedc9b3f44f42d4d974f /Lib/test/test_long.py
parent4f3c25043d651a13c41cffcee703f7d5cb677cc7 (diff)
downloadcpython-4e0ce820586e93cfcefb16c2a3df8eaefc54cbca.zip
cpython-4e0ce820586e93cfcefb16c2a3df8eaefc54cbca.tar.gz
cpython-4e0ce820586e93cfcefb16c2a3df8eaefc54cbca.tar.bz2
Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584)
This reverts commit 58a7da9e125422323f79c4ee95ac5549989d8162.
Diffstat (limited to 'Lib/test/test_long.py')
-rw-r--r--Lib/test/test_long.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index 669826c..c97842b 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -1381,10 +1381,6 @@ class LongTest(unittest.TestCase):
self.assertEqual(type(numerator), int)
self.assertEqual(type(denominator), int)
- def test_int_always_is_integer(self):
- # Issue #26680: Incorporating number.is_integer into int
- self.assertTrue(all(x.is_integer() for x in (-1, 0, 1, 42)))
-
if __name__ == "__main__":
unittest.main()