summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-06-12 17:16:49 (GMT)
committerSteve Dower <steve.dower@python.org>2019-06-12 17:16:49 (GMT)
commitdaf62627518ad97ce66a48c49496aa0573cf0731 (patch)
tree463690188a1d1f87ea5b9423e2fdfcab069302a2 /Lib/distutils/tests
parent5287022eeeb3c017d49fc8580b52e18377bf23f3 (diff)
downloadcpython-daf62627518ad97ce66a48c49496aa0573cf0731.zip
cpython-daf62627518ad97ce66a48c49496aa0573cf0731.tar.gz
cpython-daf62627518ad97ce66a48c49496aa0573cf0731.tar.bz2
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_bdist_wininst.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_bdist_wininst.py b/Lib/distutils/tests/test_bdist_wininst.py
index 4c19bba..163f1cc 100644
--- a/Lib/distutils/tests/test_bdist_wininst.py
+++ b/Lib/distutils/tests/test_bdist_wininst.py
@@ -1,10 +1,14 @@
"""Tests for distutils.command.bdist_wininst."""
+import sys
+import platform
import unittest
from test.support import run_unittest
from distutils.command.bdist_wininst import bdist_wininst
from distutils.tests import support
+@unittest.skipIf(sys.platform == 'win32' and platform.machine() == 'ARM64',
+ 'bdist_wininst is not supported in this install')
@unittest.skipIf(getattr(bdist_wininst, '_unsupported', False),
'bdist_wininst is not supported in this install')
class BuildWinInstTestCase(support.TempdirManager,