commit | 4673e19d8b477ee25159de5dc8f6c9b89cdfaee7 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Nov 19 17:50:22 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Nov 19 17:50:22 2007 +0000 |
tree | 3648f72d8e62b5d904946b5d55ef8ad2ec763e08 | |
parent | 089816ba0b54df65dfe473051837b1022cb82e8f [diff] |
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.
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 @@ @contextlib.contextmanager def temp_dir(): dirname = tempfile.mkdtemp() + dirname = os.path.realpath(dirname) try: yield dirname finally: