summaryrefslogtreecommitdiff
path: root/test/test_codeunit.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-15 11:58:01 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-15 11:58:01 -0500
commitd02588a33021e0f3af9c882a3af1d4f6751e8bd7 (patch)
treedc7bb8fef3b25e9a7e76b609271bde8b95c6f83e /test/test_codeunit.py
parent7df8f31a92df298436c25a8692c6415bad6e29a5 (diff)
downloadpython-coveragepy-git-d02588a33021e0f3af9c882a3af1d4f6751e8bd7.tar.gz
Avoid some unneeded tempdir creation in tests.
Diffstat (limited to 'test/test_codeunit.py')
-rw-r--r--test/test_codeunit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_codeunit.py b/test/test_codeunit.py
index 0c2fc98a..bd8f5224 100644
--- a/test/test_codeunit.py
+++ b/test/test_codeunit.py
@@ -15,6 +15,7 @@ class CodeUnitTest(CoverageTest):
"""Tests for coverage.codeunit"""
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')