summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_msvc9compiler.py
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-01-07 09:53:35 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2009-01-07 09:53:35 (GMT)
commitcd610ae7f21db5782b76d562002b27959d7e87b7 (patch)
tree0596b35319d8b0c37ee6b6354e75ea14066713ca /Lib/distutils/tests/test_msvc9compiler.py
parent5b0767c31d7a397c4629f8dd67058bd116d99461 (diff)
downloadcpython-cd610ae7f21db5782b76d562002b27959d7e87b7.zip
cpython-cd610ae7f21db5782b76d562002b27959d7e87b7.tar.gz
cpython-cd610ae7f21db5782b76d562002b27959d7e87b7.tar.bz2
Merged revisions 68373 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68373 | hirokazu.yamamoto | 2009-01-07 18:42:28 +0900 | 2 lines Issue #4864: test_msvc9compiler failed on VC6/7. Reviewed by Amaury Forgeot d'Arc. ........
Diffstat (limited to 'Lib/distutils/tests/test_msvc9compiler.py')
-rw-r--r--Lib/distutils/tests/test_msvc9compiler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_msvc9compiler.py b/Lib/distutils/tests/test_msvc9compiler.py
index 1659cea..0c8bd6e 100644
--- a/Lib/distutils/tests/test_msvc9compiler.py
+++ b/Lib/distutils/tests/test_msvc9compiler.py
@@ -13,6 +13,10 @@ class msvc9compilerTestCase(unittest.TestCase):
if sys.platform != 'win32':
# this test is only for win32
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
def _find_vcvarsall(version):
return None