summaryrefslogtreecommitdiff
path: root/functional_tests
diff options
context:
space:
mode:
authormyint <myint@macbookpro.local>2012-05-13 08:31:09 -0700
committermyint <myint@macbookpro.local>2012-05-13 08:31:09 -0700
commitc608659fa967029922ec397a11ba26ccf94b4018 (patch)
tree4f7b34266580c8ba511790fa2c53dcc44099bd9c /functional_tests
parent2af3963f958f385fbb68a13962d86f6a4d1735f4 (diff)
downloadnose-c608659fa967029922ec397a11ba26ccf94b4018.tar.gz
Remove redundant code
Diffstat (limited to 'functional_tests')
-rw-r--r--functional_tests/test_multiprocessing/test_concurrent_shared.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/functional_tests/test_multiprocessing/test_concurrent_shared.py b/functional_tests/test_multiprocessing/test_concurrent_shared.py
index cce3a50..629493e 100644
--- a/functional_tests/test_multiprocessing/test_concurrent_shared.py
+++ b/functional_tests/test_multiprocessing/test_concurrent_shared.py
@@ -12,12 +12,6 @@ class TestConcurrentShared(MPTestBase):
assert str(self.output).strip().endswith('OK')
-class TestConcurrentSharedWithAutomaticProcessesCount(MPTestBase):
+class TestConcurrentSharedWithAutomaticProcessesCount(TestConcurrentShared):
"""Make sure negative numbers are handled gracefully."""
processes = -1
- suitepath = os.path.join(os.path.dirname(__file__), 'support',
- 'concurrent_shared')
-
- 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')