summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_unixccompiler.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-18 14:41:01 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-18 14:41:01 (GMT)
commit3c02ecefba5ad26af1f09ac7a2f44fbff1e2e874 (patch)
tree1107d3f6a9a5da5c08a1b5308794202e8ba242f4 /Lib/distutils/tests/test_unixccompiler.py
parent4be1e24933db192b3cf95e102a46673bb3312dc3 (diff)
downloadcpython-3c02ecefba5ad26af1f09ac7a2f44fbff1e2e874.zip
cpython-3c02ecefba5ad26af1f09ac7a2f44fbff1e2e874.tar.gz
cpython-3c02ecefba5ad26af1f09ac7a2f44fbff1e2e874.tar.bz2
Issue #19492: Silently skipped distutils tests now reported as skipped.
Diffstat (limited to 'Lib/distutils/tests/test_unixccompiler.py')
-rw-r--r--Lib/distutils/tests/test_unixccompiler.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/distutils/tests/test_unixccompiler.py b/Lib/distutils/tests/test_unixccompiler.py
index a5a63fd..3d14e12 100644
--- a/Lib/distutils/tests/test_unixccompiler.py
+++ b/Lib/distutils/tests/test_unixccompiler.py
@@ -21,12 +21,8 @@ class UnixCCompilerTestCase(unittest.TestCase):
sys.platform = self._backup_platform
sysconfig.get_config_var = self._backup_get_config_var
+ @unittest.skipIf(sys.platform == 'win32', "can't test on Windows")
def test_runtime_libdir_option(self):
-
- # not tested under windows
- if sys.platform == 'win32':
- return
-
# Issue#5900
#
# Ensure RUNPATH is added to extension modules with RPATH if