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
commit0ebb8969022aef2bcde791f4d46714205af1958a (patch)
treebe8c9945cc0b6df2bb316f14ae122fd5bb35c89b /test/test_codeunit.py
parent5d2ad620d61d6d8c11c69c204428f2cd8ac1716e (diff)
downloadpython-coveragepy-0ebb8969022aef2bcde791f4d46714205af1958a.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 0c2fc98..bd8f522 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')