summaryrefslogtreecommitdiff
path: root/Lib/test/test_bool.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2020-10-06 22:13:34 -0700
committerGitHub <noreply@github.com>2020-10-06 22:13:34 -0700
commit1cc1a8f11a769c42a162229f3e1fb3a0fa74d4b9 (patch)
treee739e0905d3b06a1ebbbfca18fbf324989b99ad4 /Lib/test/test_bool.py
parent044a1048ca93d466965afc027b91a5a9eb9ce23c (diff)
downloadcpython-git-revert-6121-is_integer.tar.gz
Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)"revert-6121-is_integer
This reverts commit 58a7da9e125422323f79c4ee95ac5549989d8162.
Diffstat (limited to 'Lib/test/test_bool.py')
-rw-r--r--Lib/test/test_bool.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py
index bc201e10ff..7b3a3859e0 100644
--- a/Lib/test/test_bool.py
+++ b/Lib/test/test_bool.py
@@ -354,11 +354,6 @@ class BoolTest(unittest.TestCase):
self.assertIs(type(False.real), int)
self.assertIs(type(False.imag), int)
- def test_always_is_integer(self):
- # Issue #26680: Incorporating number.is_integer into bool
- self.assertTrue(all(b.is_integer() for b in (False, True)))
-
-
def test_main():
support.run_unittest(BoolTest)