diff options
author | Guido van Rossum <guido@python.org> | 2007-11-19 17:50:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-11-19 17:50:22 (GMT) |
commit | 4673e19d8b477ee25159de5dc8f6c9b89cdfaee7 (patch) | |
tree | 3648f72d8e62b5d904946b5d55ef8ad2ec763e08 | |
parent | 089816ba0b54df65dfe473051837b1022cb82e8f (diff) | |
download | cpython-4673e19d8b477ee25159de5dc8f6c9b89cdfaee7.zip cpython-4673e19d8b477ee25159de5dc8f6c9b89cdfaee7.tar.gz cpython-4673e19d8b477ee25159de5dc8f6c9b89cdfaee7.tar.bz2 |
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.
-rw-r--r-- | Lib/test/test_cmd_line_script.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 297efa0..3a8e8f1 100644 --- a/Lib/test/test_cmd_line_script.py +++ b/Lib/test/test_cmd_line_script.py @@ -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: |