[issue17142] test_any calls all() instead of any()

2013-02-06 Thread Sjoerd Langkemper

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 rep...@bugs.python.org
http://bugs.python.org/issue17142
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17142] test_any calls all() instead of any()

2013-02-06 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ezio.melotti

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17142
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17142] test_any calls all() instead of any()

2013-02-06 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 1fc87fa05333 by R David Murray in branch '3.2':
#17142: fix apparent copy and paste error in test_all.
http://hg.python.org/cpython/rev/1fc87fa05333

New changeset 4db932a303b4 by R David Murray in branch '3.3':
Merge: #17142: fix apparent copy and paste error in test_all.
http://hg.python.org/cpython/rev/4db932a303b4

New changeset acdb0da0df2b by R David Murray in branch 'default':
Merge: #17142: fix apparent copy and paste error in test_all.
http://hg.python.org/cpython/rev/acdb0da0df2b

New changeset d0cfabed2ef3 by R David Murray in branch '2.7':
#17142: fix apparent copy and paste error in test_all.
http://hg.python.org/cpython/rev/d0cfabed2ef3

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17142
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17142] test_any calls all() instead of any()

2013-02-06 Thread R. David Murray

R. David Murray added the comment:

Good catch, thanks.  A copy and paste error, I suppose.

--
nosy: +r.david.murray
resolution:  - fixed
stage:  - committed/rejected
status: open - closed
type: enhancement - behavior
versions: +Python 2.7, Python 3.2, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17142
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com