diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-07-17 10:43:40 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-07-17 10:43:40 (GMT) |
commit | 9c3cf6b4a00d9c77063378bd5a3a238f96a36542 (patch) | |
tree | 779d8ad6c18ada3fb9037c04519150902d7b2caf /Lib/test/test_runpy.py | |
parent | 1c4eb2c09a69da989c2b0343e10e8c77f816771c (diff) | |
parent | eb3e62f1c88e4a94be95e38e01541ebb52079d3a (diff) | |
download | cpython-9c3cf6b4a00d9c77063378bd5a3a238f96a36542.zip cpython-9c3cf6b4a00d9c77063378bd5a3a238f96a36542.tar.gz cpython-9c3cf6b4a00d9c77063378bd5a3a238f96a36542.tar.bz2 |
Merge Issue #15230 OS X buildbot fix from 3.2
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 abb7dd9..8b443f6 100644 --- a/Lib/test/test_runpy.py +++ b/Lib/test/test_runpy.py @@ -185,7 +185,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]) |