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 Todd.Rovito, ezio.melotti, ncoghlan, ned.deily, r.david.murray, terry.reedy
Date 2013-06-17.01:54:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
support.requires is smart.  If the caller's module is __main__, it treats the resources as set.  So you don't have to do anything special in your __main__ to make the tests runnable directly.

The tests are also run if unittest is called.  I don't know why that is, but I tested it on test_urllibnet, which is protected by the 'net' resource, and the tests ran.
Date User Action Args
2013-06-17 01:54:02r.david.murraysetrecipients: + r.david.murray, terry.reedy, ncoghlan, ned.deily, ezio.melotti, Todd.Rovito
2013-06-17 01:54:02r.david.murraysetmessageid: <>
2013-06-17 01:54:02r.david.murraylinkissue18103 messages
2013-06-17 01:54:02r.david.murraycreate