diff options
| author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2020-10-07 16:43:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-07 16:43:44 -0700 |
| commit | 4e0ce820586e93cfcefb16c2a3df8eaefc54cbca (patch) | |
| tree | 62e95d644abcbc04dd6baedc9b3f44f42d4d974f /Lib/test/test_bool.py | |
| parent | 4f3c25043d651a13c41cffcee703f7d5cb677cc7 (diff) | |
| download | cpython-git-4e0ce820586e93cfcefb16c2a3df8eaefc54cbca.tar.gz | |
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_bool.py')
| -rw-r--r-- | Lib/test/test_bool.py | 5 |
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) |
