[New-bugs-announce] [issue17142] test_any calls all() instead of any()

Sjoerd Langkemper report at bugs.python.org
Wed Feb 6 15:15:52 CET 2013


New submission from Sjoerd Langkemper:

In test_builtin.py, on the fourth in the test_any() function:

self.assertRaises(RuntimeError, all, TestFailingIter())

I think this should be:

self.assertRaises(RuntimeError, any, TestFailingIter())

----------
components: Tests
messages: 181524
nosy: sjoerder
priority: normal
severity: normal
status: open
title: test_any calls all() instead of any()
type: enhancement
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17142>
_______________________________________


More information about the New-bugs-announce mailing list