Commit 1acaf0bc authored by R David Murray's avatar R David Murray

#17142: fix apparent copy and paste error in test_all.

parent b5b9c8cd
...@@ -164,7 +164,7 @@ class BuiltinTest(unittest.TestCase): ...@@ -164,7 +164,7 @@ class BuiltinTest(unittest.TestCase):
self.assertEqual(any([None, None, None]), False) self.assertEqual(any([None, None, None]), False)
self.assertEqual(any([None, 4, None]), True) self.assertEqual(any([None, 4, None]), True)
self.assertRaises(RuntimeError, any, [None, TestFailingBool(), 6]) self.assertRaises(RuntimeError, any, [None, TestFailingBool(), 6])
self.assertRaises(RuntimeError, all, TestFailingIter()) self.assertRaises(RuntimeError, any, TestFailingIter())
self.assertRaises(TypeError, any, 10) # Non-iterable self.assertRaises(TypeError, any, 10) # Non-iterable
self.assertRaises(TypeError, any) # No args self.assertRaises(TypeError, any) # No args
self.assertRaises(TypeError, any, [2, 4, 6], []) # Too many args self.assertRaises(TypeError, any, [2, 4, 6], []) # Too many args
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment