This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: distutils/test_customize_compiler fails on windows
Type: Stage: patch review
Components: Distutils, Tests Versions: Python 2.7
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: ocean-city, tarek
Priority: normal Keywords: patch

Created on 2009-02-06 12:56 by ocean-city, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fix_distutils_test.patch ocean-city, 2009-02-06 12:56
Messages (2)
msg81261 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2009-02-06 12:56
test_customize_compiler fails on windows with following error message.

ERROR: test_customize_compiler
(distutils.tests.test_sysconfig.SysconfigTestCase
)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "e:\python-dev\trunk\lib\distutils\tests\test_sysconfig.py", line
54, in
test_customize_compiler
    sysconfig.customize_compiler(comp)
  File "e:\python-dev\trunk\lib\distutils\sysconfig.py", line 181, in
customize_
compiler
    cpp = cc + " -E"           # not always
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

I hope attached patch will fix this.
msg81264 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-02-06 13:28
fixed in r69366 thanks for the patch
History
Date User Action Args
2022-04-11 14:56:45adminsetgithub: 49417
2009-02-06 13:28:07tareksetstatus: open -> closed
assignee: tarek
messages: + msg81264
2009-02-06 12:56:36ocean-citycreate