[Pyunit-interest] unittest.py patch
Brought to you by:
purcell
From: Fred L. D. Jr. <fd...@ac...> - 2001-07-17 19:39:47
|
I'd like to suggest the attached patch to unittest.py. When running a test that fails to raise an expected exception (using assertRaises()), the message is just the name of the exception, not something that says the exception was expected but failed to occur. The attached patch fixes this. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Digital Creations |