Kaydet (Commit) 045bd534 authored tarafından Ned Deily's avatar Ned Deily

Issue #15241: Fix test_prefixes failure in test_venv due to symlink in

tempfile directory path (i.e. on OS X /tmp is actually /private/tmp).
üst 26c01d7e
......@@ -20,7 +20,7 @@ class BaseTest(unittest.TestCase):
"""Base class for venv tests."""
def setUp(self):
self.env_dir = tempfile.mkdtemp()
self.env_dir = os.path.realpath(tempfile.mkdtemp())
if os.name == 'nt':
self.bindir = 'Scripts'
self.pydocname = 'pydoc.py'
......
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