[issue6415] warnings.warn segfaults on bad formatted string
R. David Murray
report at bugs.python.org
Sat Jul 18 23:34:08 CEST 2009
R. David Murray <rdmurray at bitdance.com> added the comment:
The backport to 2.6 needs adjustment. The test fails:
Traceback (most recent call last):
File
"/home/rdmurray/python/release26-maint/Lib/test/test_warnings.py", line
350, in test_bad_str
with self.assertRaises(ValueError):
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
assertRaises can't be used as a context manager in 2.6.
----------
nosy: +r.david.murray
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6415>
_______________________________________
More information about the Python-bugs-list
mailing list