summaryrefslogtreecommitdiff
path: root/functional_tests/test_multiprocessing
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2013-02-08 17:03:11 -0500
committerJohn Szakmeister <john@szakmeister.net>2013-02-08 17:03:11 -0500
commit36f357c1b5275bda269d1cefcf2bd3bba5fb3189 (patch)
tree3ee17142c06ae9bc67131a2fc548ca89f4d30118 /functional_tests/test_multiprocessing
parenta79c8c30c84ee1f9137af6a3ca1daad4ddd561a9 (diff)
downloadnose-36f357c1b5275bda269d1cefcf2bd3bba5fb3189.tar.gz
Finish the setUp() process in TestConcurrentShared.
Not sure how this was missed, but we need to call setUp() on the base class in order to get the output capturing.
Diffstat (limited to 'functional_tests/test_multiprocessing')
-rw-r--r--functional_tests/test_multiprocessing/test_concurrent_shared.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/functional_tests/test_multiprocessing/test_concurrent_shared.py b/functional_tests/test_multiprocessing/test_concurrent_shared.py
index 200c461..3b3e3c4 100644
--- a/functional_tests/test_multiprocessing/test_concurrent_shared.py
+++ b/functional_tests/test_multiprocessing/test_concurrent_shared.py
@@ -17,6 +17,10 @@ class TestConcurrentShared(MPTestBase):
if is_pypy:
raise unittest.SkipTest('pypy warm-up is too slow; skipping')
+ # Need to call the base's setUp() routine to get the necessary output
+ # capturing.
+ MPTestBase.setUp(self)
+
def runTest(self):
assert 'Ran 2 tests in 1.' in self.output, "make sure two tests use 1.x seconds (no more than 2 seconsd)"
assert str(self.output).strip().endswith('OK')