summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sundry.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r--Lib/test/test_sundry.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 6e36a61..2accad1 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -1,5 +1,6 @@
"""Do a minimal test of all the modules that aren't otherwise tested."""
import importlib
+import platform
import sys
from test import support
import unittest
@@ -25,7 +26,7 @@ class TestUntestedModules(unittest.TestCase):
import distutils.unixccompiler
import distutils.command.bdist_dumb
- if sys.platform.startswith('win'):
+ if sys.platform.startswith('win') and not platform.win32_is_iot():
import distutils.command.bdist_msi
import distutils.command.bdist
import distutils.command.bdist_rpm