This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jonathan.hartley
Recipients ezio.melotti, jonathan.hartley, michael.foord
Date 2011-03-14.19:41:41
SpamBayes Score 4.9457884e-07
Marked as misclassified No
Message-id <1300131701.99.0.182288442489.issue11407@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-03-14 19:41:42jonathan.hartleysetrecipients: + jonathan.hartley, ezio.melotti, michael.foord
2011-03-14 19:41:41jonathan.hartleysetmessageid: <1300131701.99.0.182288442489.issue11407@psf.upfronthosting.co.za>
2011-03-14 19:41:41jonathan.hartleylinkissue11407 messages
2011-03-14 19:41:41jonathan.hartleycreate