summaryrefslogtreecommitdiff
path: root/test/test_codeunit.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-18 06:34:46 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-18 06:34:46 -0500
commite6f7c758510279978aad030e0369f34cf666ee3a (patch)
tree813fffb6f2fb65d494521a56daa8941df17e95bd /test/test_codeunit.py
parent4fd78e63c89803d50972df4128f08572bab53581 (diff)
downloadpython-coveragepy-e6f7c758510279978aad030e0369f34cf666ee3a.tar.gz
Dur! This is a better way to indicate how the tests should run.
Diffstat (limited to 'test/test_codeunit.py')
-rw-r--r--test/test_codeunit.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_codeunit.py b/test/test_codeunit.py
index bd8f522..96df963 100644
--- a/test/test_codeunit.py
+++ b/test/test_codeunit.py
@@ -14,8 +14,9 @@ from coveragetest import CoverageTest
class CodeUnitTest(CoverageTest):
"""Tests for coverage.codeunit"""
+ run_in_temp_dir = False
+
def setUp(self):
- self.run_in_temp_dir = False
super(CodeUnitTest, self).setUp()
# Parent class saves and restores sys.path, we can just modify it.
testmods = self.nice_file(os.path.dirname(__file__), 'modules')