diff options
| author | Eli Bendersky <eliben@gmail.com> | 2012-07-17 11:22:01 (GMT) |
|---|---|---|
| committer | Eli Bendersky <eliben@gmail.com> | 2012-07-17 11:22:01 (GMT) |
| commit | ceb23316c85022541bac39c7ce814a659c7e1962 (patch) | |
| tree | cbcfac900321e46b39d944a14fe5afb41a80ed65 /Lib/test/test_runpy.py | |
| parent | 66099b0cdcce7ee6d0d384a6f7687499bc67f15e (diff) | |
| parent | c5a45669229906a2ff8ea87bd69d1df2feac8ffc (diff) | |
| download | cpython-ceb23316c85022541bac39c7ce814a659c7e1962.zip cpython-ceb23316c85022541bac39c7ce814a659c7e1962.tar.gz cpython-ceb23316c85022541bac39c7ce814a659c7e1962.tar.bz2 | |
merge heads
Diffstat (limited to 'Lib/test/test_runpy.py')
| -rw-r--r-- | Lib/test/test_runpy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_runpy.py b/Lib/test/test_runpy.py index 85eb76f..6e9c4fc 100644 --- a/Lib/test/test_runpy.py +++ b/Lib/test/test_runpy.py @@ -182,7 +182,7 @@ class RunModuleTestCase(unittest.TestCase, CodeExecutionMixin): def _make_pkg(self, source, depth, mod_base="runpy_test"): pkg_name = "__runpy_pkg__" test_fname = mod_base+os.extsep+"py" - pkg_dir = sub_dir = tempfile.mkdtemp() + pkg_dir = sub_dir = os.path.realpath(tempfile.mkdtemp()) if verbose > 1: print(" Package tree in:", sub_dir) sys.path.insert(0, pkg_dir) if verbose > 1: print(" Updated sys.path:", sys.path[0]) |
