homepage

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 zach.ware
Recipients ezio.melotti, michael.foord, pitrou, serhiy.storchaka, zach.ware
Date 2013年11月14日.22:33:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384468392.3.0.701563221168.issue19597@psf.upfronthosting.co.za>
In-reply-to
Content
Some tests in the test suite are not implemented for one reason or another, and most of these are defined simply as "def test_thats_not_implemented(self): pass", possibly with a comment meant to be a reminder to implement it. This patch adds a decorator to test.support which turns the non-test into an expected failure with a docstring. This means that when run in verbose mode, instead of showing:
"""
test_thats_not_implemented (test.test_sometest.TestClass) ... ok
"""
it will instead show:
"""
Not Implemented: TestClass.test_thats_not_implemented ... expected failure
"""
This should make it more obvious that such a test needs some work. The patch also applies the decorator in test_minidom as an example; there are a few other places that could use it as well.
History
Date User Action Args
2013年11月14日 22:33:12zach.waresetrecipients: + zach.ware, pitrou, ezio.melotti, michael.foord, serhiy.storchaka
2013年11月14日 22:33:12zach.waresetmessageid: <1384468392.3.0.701563221168.issue19597@psf.upfronthosting.co.za>
2013年11月14日 22:33:12zach.warelinkissue19597 messages
2013年11月14日 22:33:12zach.warecreate

AltStyle によって変換されたページ (->オリジナル) /