Issue #9313: Skips test_remove_visual_c_ref on old MSVC.

This commit is contained in:
Hirokazu Yamamoto 2010-09-12 22:55:40 +00:00
parent feb7307db4
commit f28f0d92cd

View File

@ -109,6 +109,11 @@ class msvc9compilerTestCase(support.TempdirManager,
self.assertTrue('Desktop' in keys)
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
tempdir = self.mkdtemp()
manifest = os.path.join(tempdir, 'manifest')