summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2012-07-17 10:43:40 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2012-07-17 10:43:40 (GMT)
commit9c3cf6b4a00d9c77063378bd5a3a238f96a36542 (patch)
tree779d8ad6c18ada3fb9037c04519150902d7b2caf /Lib
parent1c4eb2c09a69da989c2b0343e10e8c77f816771c (diff)
parenteb3e62f1c88e4a94be95e38e01541ebb52079d3a (diff)
downloadcpython-9c3cf6b4a00d9c77063378bd5a3a238f96a36542.zip
cpython-9c3cf6b4a00d9c77063378bd5a3a238f96a36542.tar.gz
cpython-9c3cf6b4a00d9c77063378bd5a3a238f96a36542.tar.bz2
Merge Issue #15230 OS X buildbot fix from 3.2
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_runpy.py2
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])