[Python-checkins] r59055 - python/trunk/Lib/test/test_cmd_line_script.py
guido.van.rossum
python-checkins at python.org
Mon Nov 19 18:50:22 CET 2007
Author: guido.van.rossum
Date: Mon Nov 19 18:50:22 2007
New Revision: 59055
Modified:
python/trunk/Lib/test/test_cmd_line_script.py
Log:
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.
Modified: python/trunk/Lib/test/test_cmd_line_script.py
==============================================================================
--- python/trunk/Lib/test/test_cmd_line_script.py (original)
+++ python/trunk/Lib/test/test_cmd_line_script.py Mon Nov 19 18:50:22 2007
@@ -29,6 +29,7 @@
@contextlib.contextmanager
def temp_dir():
dirname = tempfile.mkdtemp()
+ dirname = os.path.realpath(dirname)
try:
yield dirname
finally:
More information about the Python-checkins
mailing list