mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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).
This commit is contained in:
parent
26c01d7e05
commit
045bd5340f
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue