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 eric.snow
Recipients Arfrever, brett.cannon, eli.bendersky, eric.snow, ezio.melotti, pitrou
Date 2013-01-28.20:46:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359405985.08.0.998509788926.issue17037@psf.upfronthosting.co.za>
In-reply-to
Content
+1 to where Brett's taking this.  I really like having the PEP399Tests class encapsulating the various boilerplate parts, with some of them as methods, rather than trying to pack them all into one all-powerful decorator.

It would be worth raising an exception in ``pep399_tests.create_test_cases(ExampleTest)`` if ExampleTest inherits from unittest.TestCase.  This is a simple thing that would help people get it right.
History
Date User Action Args
2013-01-28 20:46:25eric.snowsetrecipients: + eric.snow, brett.cannon, pitrou, ezio.melotti, Arfrever, eli.bendersky
2013-01-28 20:46:25eric.snowsetmessageid: <1359405985.08.0.998509788926.issue17037@psf.upfronthosting.co.za>
2013-01-28 20:46:25eric.snowlinkissue17037 messages
2013-01-28 20:46:24eric.snowcreate