Commit d4b44c7d authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Issue #9313: Skips test_remove_visual_c_ref on old MSVC.

parent 944d8d8d
...@@ -109,6 +109,11 @@ class msvc9compilerTestCase(support.TempdirManager, ...@@ -109,6 +109,11 @@ class msvc9compilerTestCase(support.TempdirManager,
self.assertTrue('Desktop' in keys) self.assertTrue('Desktop' in keys)
def test_remove_visual_c_ref(self): def test_remove_visual_c_ref(self):
from distutils.msvccompiler import get_build_version
if get_build_version() < 8.0:
# this test is only for MSVC8.0 or above
return
from distutils.msvc9compiler import MSVCCompiler from distutils.msvc9compiler import MSVCCompiler
tempdir = self.mkdtemp() tempdir = self.mkdtemp()
manifest = os.path.join(tempdir, 'manifest') manifest = os.path.join(tempdir, 'manifest')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment