diff options
Diffstat (limited to 'nose')
-rw-r--r-- | nose/plugins/multiprocess.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nose/plugins/multiprocess.py b/nose/plugins/multiprocess.py index 2cae744..135d69c 100644 --- a/nose/plugins/multiprocess.py +++ b/nose/plugins/multiprocess.py @@ -668,8 +668,6 @@ def __runner(ix, testQueue, resultQueue, currentaddr, currentstart, config.plugins.configure(config.options,config) config.plugins.begin() log.debug("Worker %s executing, pid=%d", ix,os.getpid()) - loader = loaderClass(config=config) - loader.suiteClass.suiteClass = NoSharedFixtureContextSuite def get(): return testQueue.get(timeout=config.multiprocess_timeout) @@ -702,6 +700,8 @@ def __runner(ix, testQueue, resultQueue, currentaddr, currentstart, log.exception('Worker %d STOPPED',ix) break result = makeResult() + loader = loaderClass(config=config) + loader.suiteClass.suiteClass = NoSharedFixtureContextSuite test = loader.loadTestsFromNames([test_addr]) test.testQueue = testQueue test.tasks = [] |