Message198704
test.support.import_module is typically meant for global imports as function-level imports are discouraged in general. I would instead use the unittest.skipIf decorator::
@unittest.skipIf(not test.support.multiprocessing, "multiprocessing required")
def test_qualname_source(self):
... |
|
Date |
User |
Action |
Args |
2013-09-30 14:53:01 | brett.cannon | set | recipients:
+ brett.cannon, rpointel |
2013-09-30 14:53:01 | brett.cannon | set | messageid: <1380552781.68.0.687668430433.issue19134@psf.upfronthosting.co.za> |
2013-09-30 14:53:01 | brett.cannon | link | issue19134 messages |
2013-09-30 14:53:01 | brett.cannon | create | |
|