diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2020-10-07 23:43:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 23:43:44 (GMT) |
commit | 4e0ce820586e93cfcefb16c2a3df8eaefc54cbca (patch) | |
tree | 62e95d644abcbc04dd6baedc9b3f44f42d4d974f /Lib/test/test_long.py | |
parent | 4f3c25043d651a13c41cffcee703f7d5cb677cc7 (diff) | |
download | cpython-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.py | 4 |
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() |