We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654b250 commit 07c4ca7Copy full SHA for 07c4ca7
src/core/IronPython/Lib/iptest/test_env.py
@@ -4,6 +4,7 @@
4
5
import os
6
import sys
7
+import platform
8
9
#------------------------------------------------------------------------------
10
@@ -15,7 +16,7 @@
15
16
is_linux = sys.platform == 'linux'
17
is_osx = sys.platform == 'darwin'
18
is_posix = is_linux or is_osx
-is_arm64 = os.uname().machine in ['aarch64', 'arm64']
19
+is_arm64 = platform.machine().lower() in ['aarch64', 'arm64']
20
21
is_netcoreapp = False
22
is_netcoreapp21 = False
0 commit comments