From 4673e19d8b477ee25159de5dc8f6c9b89cdfaee7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 19 Nov 2007 17:50:22 +0000 Subject: [PATCH] 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. --- Lib/test/test_cmd_line_script.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_cmd_line_script.py b/Lib/test/test_cmd_line_script.py index 297efa0ae1..3a8e8f190f 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: -- 2.50.1