summaryrefslogtreecommitdiff
path: root/test/coveragetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/coveragetest.py')
-rw-r--r--test/coveragetest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py
index 3242e52..9bff27e 100644
--- a/test/coveragetest.py
+++ b/test/coveragetest.py
@@ -426,7 +426,7 @@ class CoverageTest(TestCase):
here = os.path.dirname(self.nice_file(coverage.__file__, ".."))
testmods = self.nice_file(here, 'test/modules')
zipfile = self.nice_file(here, 'test/zipmods.zip')
- pypath = self.original_environ('PYTHONPATH', "")
+ pypath = os.getenv('PYTHONPATH')
if pypath:
pypath += os.pathsep
pypath += testmods + os.pathsep + zipfile