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

Terry J. Reedy report at bugs.python.org
Wed Jul 31 04:30:36 CEST 2013

Terry J. Reedy added the comment:

> What about the second line?
What second line?
> It doesn't catch any exception
It? I do not understand your point. Your example works as documented, including "any unexpected exception is an error".

Actually, that should be 'any exception' as none is expected.

Also, "additional checks on the exception raised:" should be 'warning caught'


Python tracker <report at bugs.python.org>

More information about the docs mailing list