diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-02-06 14:57:51 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-02-06 14:57:51 (GMT) |
commit | cd74322dad4f261f0dd2c6ce775f4fbd98bee38f (patch) | |
tree | 5fc2cc267ef98b36961c0e4ee329b1824a39bc7a /Lib | |
parent | b6c86fd87f93f73c8d5f759d3f5136f1a1cc67e9 (diff) | |
parent | 1acaf0bce2b1853a8457bc345630cd4b9b85e31b (diff) | |
download | cpython-cd74322dad4f261f0dd2c6ce775f4fbd98bee38f.zip cpython-cd74322dad4f261f0dd2c6ce775f4fbd98bee38f.tar.gz cpython-cd74322dad4f261f0dd2c6ce775f4fbd98bee38f.tar.bz2 |
Merge: #17142: fix apparent copy and paste error in test_all.
Diffstat (limited to 'Lib')
-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 bf005c5..bea88b4 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py @@ -189,7 +189,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 |