[New-bugs-announce] [issue4864] test_msvc9compiler fails on VC6

Hirokazu Yamamoto report at bugs.python.org
Wed Jan 7 07:04:34 CET 2009

New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:

Currently, test_msvc9compiler fails on VC6 with following message.


Traceback (most recent call last):
  File "test_distutils.py", line 17, in <module>
  File "test_distutils.py", line 13, in test_main
  File "e:\python-dev\trunk\lib\test\test_support.py", line 710, in 

  File "e:\python-dev\trunk\lib\test\test_support.py", line 693, in 
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "e:\python-dev\trunk\lib\distutils\tests\test_msvc9compiler.py", 
line 16,
 in test_no_compiler
    from distutils.msvc9compiler import query_vcvarsall
  File "e:\python-dev\trunk\lib\distutils\msvc9compiler.py", line 281, 
in <modul
    raise DistutilsPlatformError("VC %0.1f is not supported by this 
module" % VE
DistutilsPlatformError: VC 6.0 is not supported by this module


I think attached patch will fix this. Is this fix appropriate?

Thank you.

components: Tests
files: test_msvc9compiler.patch
keywords: easy, needs review, patch
messages: 79301
nosy: ocean-city
severity: normal
status: open
title: test_msvc9compiler fails on VC6
versions: Python 2.7
Added file: http://bugs.python.org/file12628/test_msvc9compiler.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list