diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-08 22:24:51 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-08 22:24:51 -0400 |
| commit | 8799da89bd2ff281e95eb341d524d42f566532eb (patch) | |
| tree | d970f4666e71a326d8fe43a2188fc1315845c7b5 /test/coveragetest.py | |
| parent | 1966f545699490822117d66a86f2de91734a6ee9 (diff) | |
| download | python-coveragepy-8799da89bd2ff281e95eb341d524d42f566532eb.tar.gz | |
Control the test better; don't use os when cleaning up the path
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 9bff27e..627635f 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 = os.getenv('PYTHONPATH') + pypath = os.getenv('PYTHONPATH', '') if pypath: pypath += os.pathsep pypath += testmods + os.pathsep + zipfile |
