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

This commit is contained in:
R David Murray 2013-02-06 10:06:10 -05:00
parent 381372d1be
commit 9b3085cdf5
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class BuiltinTest(unittest.TestCase):
self.assertEqual(any([None, None, None]), False)
self.assertEqual(any([None, 4, None]), True)
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) # No args
self.assertRaises(TypeError, any, [2, 4, 6], []) # Too many args