[issue18573] In unittest.TestCase.assertWarns doc there is some text about assertRaises()

Terry J. Reedy report at bugs.python.org
Sat Jul 27 22:17:33 CEST 2013


Terry J. Reedy added the comment:

assertWarns is new in 3.2 and not in 2.7.
The sentence was copied from the assertRaises section but not changed.
Thanks for reporting.

----------
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
type: enhancement -> behavior
versions:  -Python 2.7

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


More information about the Python-bugs-list mailing list