Commit 3033d62a authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Merged revisions 84765 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84765 | hirokazu.yamamoto | 2010-09-13 16:18:30 +0900 | 2 lines

  get_build_version() is needed even where sys.platform != "win32".
  Try to fix buildbot error in other way.
........
parent 9b439051
...@@ -62,10 +62,14 @@ _CLEANED_MANIFEST = """\ ...@@ -62,10 +62,14 @@ _CLEANED_MANIFEST = """\
if sys.platform=="win32": if sys.platform=="win32":
from distutils.msvccompiler import get_build_version from distutils.msvccompiler import get_build_version
if get_build_version()>=8.0:
@unittest.skipUnless(sys.platform=="win32", "These tests are only for win32") SKIP_MESSAGE = None
@unittest.skipUnless(get_build_version()>=8.0, "These tests are only for" else:
" MSVC8.0 or above") SKIP_MESSAGE = "These tests are only for MSVC8.0 or above"
else:
SKIP_MESSAGE = "These tests are only for win32"
@unittest.skipUnless(SKIP_MESSAGE is None, SKIP_MESSAGE)
class msvc9compilerTestCase(support.TempdirManager, class msvc9compilerTestCase(support.TempdirManager,
unittest.TestCase): unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment