[issue4864] test_msvc9compiler fails on VC6
Hirokazu Yamamoto
report at bugs.python.org
Wed Jan 7 07:04:35 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>
test_main()
File "test_distutils.py", line 13, in test_main
test.test_support.run_unittest(distutils.tests.test_suite())
File "e:\python-dev\trunk\lib\test\test_support.py", line 710, in
run_unittest
_run_suite(suite)
File "e:\python-dev\trunk\lib\test\test_support.py", line 693, in
_run_suite
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
e>
raise DistutilsPlatformError("VC %0.1f is not supported by this
module" % VE
RSION)
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>
<http://bugs.python.org/issue4864>
_______________________________________
More information about the Python-bugs-list
mailing list