diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-12 22:55:40 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2010-09-12 22:55:40 (GMT) |
commit | f28f0d92cd3f7c75450a22a93683395fea95623d (patch) | |
tree | 807ee696cb8ee444d7f51f238cbfd31faa7ae9d0 /Lib/distutils | |
parent | feb7307db4b4582af9ac01719f7df651c2eed077 (diff) | |
download | cpython-f28f0d92cd3f7c75450a22a93683395fea95623d.zip cpython-f28f0d92cd3f7c75450a22a93683395fea95623d.tar.gz cpython-f28f0d92cd3f7c75450a22a93683395fea95623d.tar.bz2 |
Issue #9313: Skips test_remove_visual_c_ref on old MSVC.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/tests/test_msvc9compiler.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_msvc9compiler.py b/Lib/distutils/tests/test_msvc9compiler.py index 8a908d9..39e2c11 100644 --- a/Lib/distutils/tests/test_msvc9compiler.py +++ b/Lib/distutils/tests/test_msvc9compiler.py @@ -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') |