Message191307
| 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 | <1371434042.64.0.605939078937.issue18103@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013-06-17 01:54:02 | r.david.murray | set | recipients: + r.david.murray, terry.reedy, ncoghlan, ned.deily, ezio.melotti, Todd.Rovito |
| 2013-06-17 01:54:02 | r.david.murray | set | messageid: <1371434042.64.0.605939078937.issue18103@psf.upfronthosting.co.za> |
| 2013-06-17 01:54:02 | r.david.murray | link | issue18103 messages |
| 2013-06-17 01:54:02 | r.david.murray | create | |