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: test_distutils unit test is failing rev:59499
Type: Stage:
Components: Distutils Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: JosephArmbruster, christian.heimes
Priority: high Keywords:

Created on 2007-12-14 13:34 by JosephArmbruster, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg58626 - (view) Author: Joseph Armbruster (JosephArmbruster) Date: 2007-12-14 13:34
Error detailed below.. I reverted the changes to sysconfig.py from rev
59488 and the error goes away.  I believe the suspect line is:

# head
python_build = os.path.isfile(os.path.join(project_base, "Modules",
                                           "Setup.local"))
# after revert
python_build = os.path.isfile(os.path.join(project_base, "Modules",
                                           "Setup.dist"))



D:\work\py trunk\PCbuild9>rt test_distutils
Deleting .pyc/.pyo files ...
92 .pyc deleted, 0 .pyo deleted

D:\work\py trunk\PCbuild9>python  -E -tt ../lib/test/regrtest.py
test_distutils
test_distutils
test test_distutils failed -- Traceback (most recent call last):
  File "D:\work\py trunk\lib\distutils\tests\test_sysconfig.py", line
16, in test_get_config_h_filename
    self.assert_(os.path.isfile(config_h), config_h)
AssertionError: D:\work\py trunk\include\pyconfig.h

1 test failed:
    test_distutils
About to run again without deleting .pyc/.pyo first:
Press any key to continue . . .
msg58644 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-12-14 23:43
Fixed in r59511
The Makefile VPATH fix broke an unit test on Windows. The code now
checks if any of the files exist.
History
Date User Action Args
2022-04-11 14:56:28adminsetgithub: 45969
2008-01-06 22:29:44adminsetkeywords: - py3k
versions: Python 3.0
2007-12-14 23:43:48christian.heimessetstatus: open -> closed
keywords: + py3k
resolution: fixed
messages: + msg58644
2007-12-14 18:27:10gvanrossumsetpriority: high
assignee: christian.heimes
2007-12-14 13:34:41JosephArmbrustercreate