mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Issue #9313: Skips test_remove_visual_c_ref on old MSVC.
This commit is contained in:
parent
feb7307db4
commit
f28f0d92cd
1 changed files with 5 additions and 0 deletions
|
@ -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')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue