diff options
Diffstat (limited to 'Lib/test/test_bool.py')
-rw-r--r-- | Lib/test/test_bool.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index 9d58a2e..16cd1aa 100644 --- a/Lib/test/test_bool.py +++ b/Lib/test/test_bool.py @@ -180,9 +180,8 @@ class BoolTest(unittest.TestCase): self.assertIs(hasattr([], "wobble"), False) def test_callable(self): - with test_support.check_py3k_warnings(): - self.assertIs(callable(len), True) - self.assertIs(callable(1), False) + self.assertIs(callable(len), True) + self.assertIs(callable(1), False) def test_isinstance(self): self.assertIs(isinstance(True, bool), True) |