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 r.david.murray
Recipients michael.foord, r.david.murray
Date 2011-08-02.11:41:55
SpamBayes Score 0.0003342688
Marked as misclassified No
Message-id <1312285316.59.0.648531105022.issue12681@psf.upfronthosting.co.za>
In-reply-to
Content
I think that it would be good for expectedFailure to take a message argument like skip does.  My thought is that it would be printed both when it is triggered (the test fails as expected) so that one case from the verbose output why the test is expected to fail, and when the test passes unexpectedly.  My specific use case is OS bugs, where we could mark a test as an expected failure instead of a skip, and then we would see the unexpected pass when the OS fixes the bug, but in the meantime the verbose output would show the 'skip' reason.

Hmm.  I suppose this means I want expectedFailureIf, too...
History
Date User Action Args
2011-08-02 11:41:56r.david.murraysetrecipients: + r.david.murray, michael.foord
2011-08-02 11:41:56r.david.murraysetmessageid: <1312285316.59.0.648531105022.issue12681@psf.upfronthosting.co.za>
2011-08-02 11:41:56r.david.murraylinkissue12681 messages
2011-08-02 11:41:55r.david.murraycreate