mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
This commit is contained in:
parent
5287022eee
commit
daf6262751
5 changed files with 13 additions and 3 deletions
|
@ -628,6 +628,8 @@ def get_platform():
|
|||
return 'win-amd64'
|
||||
if '(arm)' in sys.version.lower():
|
||||
return 'win-arm32'
|
||||
if '(arm64)' in sys.version.lower():
|
||||
return 'win-arm64'
|
||||
return sys.platform
|
||||
|
||||
if os.name != "posix" or not hasattr(os, 'uname'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue