Commits

Ezio Melotti committed 0ff3706

Fix tests now that the callable warning is gone.

Comments (0)

Files changed (2)

Lib/test/test_bool.py

         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)

Lib/test/test_builtin.py

 
 def _run_unittest(*args):
     with check_py3k_warnings(
-            (".+ not supported in 3.1", DeprecationWarning),
             (".+ not supported in 3.x", DeprecationWarning),
             (".+ is renamed to imp.reload", DeprecationWarning),
             ("classic int division", DeprecationWarning)):