mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Avoid using scrdir, it's broken.
This commit is contained in:
parent
76b931b133
commit
8afc243a76
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ if not sysconfig.is_python_build():
|
||||||
# and run the tests in that case too?
|
# and run the tests in that case too?
|
||||||
raise unittest.SkipTest('test irrelevant for an installed Python')
|
raise unittest.SkipTest('test irrelevant for an installed Python')
|
||||||
|
|
||||||
srcdir = sysconfig.get_config_var('srcdir')
|
basepath = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))),
|
||||||
basepath = os.path.join(os.getcwd(), srcdir, 'Tools')
|
'Tools')
|
||||||
scriptsdir = os.path.join(basepath, 'scripts')
|
scriptsdir = os.path.join(basepath, 'scripts')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue