New submission from Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp>:

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.

----------
components: Distutils, Tests
files: fix_distutils_test.patch
keywords: patch
messages: 81261
nosy: ocean-city, tarek
severity: normal
stage: patch review
status: open
title: distutils/test_customize_compiler fails on windows
versions: Python 2.7
Added file: http://bugs.python.org/file12951/fix_distutils_test.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5167>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to