diff options
author | 2020-10-12 12:13:35 +0300 | |
---|---|---|
committer | 2020-10-12 12:13:35 +0300 | |
commit | 76d599fb3d09c297b607c97184188b8470dfb996 (patch) | |
tree | 43957f2effe69298b9ee0fc991162918f4150b46 /lib-python | |
parent | remove redundant test, skip test of SO_SNDBUF on windows (diff) | |
download | pypy-76d599fb3d09c297b607c97184188b8470dfb996.tar.gz pypy-76d599fb3d09c297b607c97184188b8470dfb996.tar.bz2 pypy-76d599fb3d09c297b607c97184188b8470dfb996.zip |
nt_pypy -> pypy_nt to be compatible with f1aa5bb836b (nulano)
Diffstat (limited to 'lib-python')
-rw-r--r-- | lib-python/2.7/sysconfig.py | 4 | ||||
-rw-r--r-- | lib-python/2.7/test/test_sysconfig.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib-python/2.7/sysconfig.py b/lib-python/2.7/sysconfig.py index 44d721db24..030f90e357 100644 --- a/lib-python/2.7/sysconfig.py +++ b/lib-python/2.7/sysconfig.py @@ -36,7 +36,7 @@ _INSTALL_SCHEMES = { 'scripts': '{base}/bin', 'data' : '{base}', }, - 'nt_pypy': { + 'pypy_nt': { 'stdlib': '{base}/lib-{implementation_lower}/{py_version_short}', 'platstdlib': '{base}/lib-{implementation_lower}/{py_version_short}', 'purelib': '{base}/site-packages', @@ -199,7 +199,7 @@ def _get_default_scheme(): return 'posix_prefix' if os.name == 'nt': if '__pypy__' in sys.builtin_module_names: - return 'nt_pypy' + return 'pypy_nt' return os.name def _getuserbase(): diff --git a/lib-python/2.7/test/test_sysconfig.py b/lib-python/2.7/test/test_sysconfig.py index 5715c584f2..f2f554beb4 100644 --- a/lib-python/2.7/test/test_sysconfig.py +++ b/lib-python/2.7/test/test_sysconfig.py @@ -252,7 +252,7 @@ class TestSysConfig(unittest.TestCase): not import_module('_testcapi'), config_h) def test_get_scheme_names(self): - wanted = ('nt', 'nt_pypy', 'nt_user', 'os2', 'os2_home', 'osx_framework_user', + wanted = ('nt', 'pypy_nt', 'nt_user', 'os2', 'os2_home', 'osx_framework_user', 'posix_home', 'posix_prefix', 'posix_user', 'pypy') self.assertEqual(get_scheme_names(), wanted) |