Message130882
Attached patch fixes this.
TestCase.run now returns its TestResult object, regardless of whether it was passed in or created internally. Test assertions added for this. Invoking an instance of TestCase already returned the return value of .run, so the result is correctly propagated. New test added that verifies that .__call__ delegates to .run.
Fix for an unrelated minor typo in the docs also bundled into this patch: Fixed the versionchanged:: markup for class TestCase.
This is my first patch submission, please help me out if I mess it up. Thanks. |
|
Date |
User |
Action |
Args |
2011-03-14 19:41:42 | jonathan.hartley | set | recipients:
+ jonathan.hartley, ezio.melotti, michael.foord |
2011-03-14 19:41:41 | jonathan.hartley | set | messageid: <1300131701.99.0.182288442489.issue11407@psf.upfronthosting.co.za> |
2011-03-14 19:41:41 | jonathan.hartley | link | issue11407 messages |
2011-03-14 19:41:41 | jonathan.hartley | create | |
|