mirror of https://github.com/python/cpython
Issue #4864: test_msvc9compiler failed on VC6/7.
Reviewed by Amaury Forgeot d'Arc.
This commit is contained in:
parent
09cafb6335
commit
fde5b803d8
|
@ -13,6 +13,10 @@ class msvc9compilerTestCase(unittest.TestCase):
|
||||||
if sys.platform != 'win32':
|
if sys.platform != 'win32':
|
||||||
# this test is only for win32
|
# this test is only for win32
|
||||||
return
|
return
|
||||||
|
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 query_vcvarsall
|
from distutils.msvc9compiler import query_vcvarsall
|
||||||
def _find_vcvarsall(version):
|
def _find_vcvarsall(version):
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue