diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-01-07 10:11:17 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-01-07 10:11:17 (GMT) |
commit | 1054f95b70abaa0353216c3c6ecd34dea92c5b5e (patch) | |
tree | e15649419b16157c98cb25ac824db6d78bad1906 | |
parent | d35cbf6e61cdf048a5ffe5413832eda970c277d8 (diff) | |
download | cpython-1054f95b70abaa0353216c3c6ecd34dea92c5b5e.zip cpython-1054f95b70abaa0353216c3c6ecd34dea92c5b5e.tar.gz cpython-1054f95b70abaa0353216c3c6ecd34dea92c5b5e.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.
........
-rw-r--r-- | Lib/distutils/tests/test_msvc9compiler.py | 4 |
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 |