[issue8155] Incompatible change to test.test_support.check_warnings behaviour

Nick Coghlan report at bugs.python.org
Wed Mar 17 15:15:19 CET 2010


Nick Coghlan <ncoghlan at gmail.com> added the comment:

On a second look, there are a couple of things missing:
- the default value didn't actually get changed!
- we should add an explicit test that the no argument behaviour doesn't raise a warning by default

Since we don't really have an existing test suite for the support code, I'd suggest coopting test_sundry.py for the purpose.

I agree that an exception should be raised if the user passes in an expected warning but no warning at all is encountered.

----------

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


More information about the Python-bugs-list mailing list