mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Ensure that test_site actually passes with a framework build
This commit is contained in:
parent
794f5b3559
commit
bda4672b01
3 changed files with 4 additions and 7 deletions
|
@ -173,7 +173,7 @@ def _getuserbase():
|
|||
if sys.platform == "darwin":
|
||||
framework = get_config_var("PYTHONFRAMEWORK")
|
||||
if framework:
|
||||
return joinuser("~", "Library", framework, "%d.%d"%(
|
||||
return env_base if env_base else joinuser("~", "Library", framework, "%d.%d"%(
|
||||
sys.version_info[:2]))
|
||||
|
||||
return env_base if env_base else joinuser("~", ".local")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue