Commit 1152750b authored by Guido van Rossum's avatar Guido van Rossum

Fix the OSX failures in this test -- they were due to /tmp being a symlink

to /private/tmp.  Adding a call to os.path.realpath() to temp_dir() fixed it.
parent c7d86752
......@@ -29,6 +29,7 @@ def _run_python(*args):
@contextlib.contextmanager
def temp_dir():
dirname = tempfile.mkdtemp()
dirname = os.path.realpath(dirname)
try:
yield dirname
finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment