diff options
Diffstat (limited to 'test/coveragetest.py')
-rw-r--r-- | test/coveragetest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py index 0fb8d163..dad96978 100644 --- a/test/coveragetest.py +++ b/test/coveragetest.py @@ -209,7 +209,7 @@ class CoverageTest(unittest.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 = os.environ['PYTHONPATH'] + pypath = os.environ.get('PYTHONPATH', '') if pypath: pypath += os.pathsep pypath += testmods + os.pathsep + zipfile |