diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-02-06 14:56:19 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-02-06 14:56:19 (GMT) |
commit | 1acaf0bce2b1853a8457bc345630cd4b9b85e31b (patch) | |
tree | fd9e0d66f1a51f7dd3a7da1f6a0955df86899bb3 | |
parent | b5b9c8cd402b8ab8d6cb00f157ac855b37a1e5c6 (diff) | |
download | cpython-1acaf0bce2b1853a8457bc345630cd4b9b85e31b.zip cpython-1acaf0bce2b1853a8457bc345630cd4b9b85e31b.tar.gz cpython-1acaf0bce2b1853a8457bc345630cd4b9b85e31b.tar.bz2 |
#17142: fix apparent copy and paste error in test_all.
-rw-r--r-- | Lib/test/test_builtin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index dab56ce..42a1e35 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -164,7 +164,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 |