Jonathan Hartley <tart...@tartley.com> added the comment:

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.

----------
keywords: +patch
nosy: +tartley
Added file: http://bugs.python.org/file21131/issue11407.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11407>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to