This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients brett.cannon, jcsalterego, ocean-city, r.david.murray, wiesenth
Date 2009-07-18.21:34:06
SpamBayes Score 3.335882e-10
Marked as misclassified No
Message-id <1247952848.24.0.432487188944.issue6415@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-18 21:34:08r.david.murraysetrecipients: + r.david.murray, brett.cannon, ocean-city, jcsalterego, wiesenth
2009-07-18 21:34:08r.david.murraysetmessageid: <1247952848.24.0.432487188944.issue6415@psf.upfronthosting.co.za>
2009-07-18 21:34:06r.david.murraylinkissue6415 messages
2009-07-18 21:34:06r.david.murraycreate