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 subtest test_get_exe_bytes fails depending on execution order
Type: behavior Stage:
Components: Distutils Versions: Python 2.6
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: tarek Nosy List: matejcik, tarek
Priority: normal Keywords: patch

Created on 2009-07-30 16:54 by matejcik, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.6.2-test_distutils.patch matejcik, 2009-07-30 16:54
Messages (2)
msg91100 - (view) Author: jan matejek (matejcik) * Date: 2009-07-30 16:54
test_bdist_wininst.py fails in non-windows environment, depending on the
order of execution of tests in the test_distutils suite

When this test is not run on windows, msvccompiler.py fails to load
win32 registry modules and emits a warning-level message to the log.
Depending on which tests run before this test, the log threshold might
be set lower than WARN. in such case, The warning is actually printed,
test runner detects it and fails the test (which otherwise passes).

the attached patch sets log threshold to ERROR, silencing the warning
and producing a happier test ;e)
msg91185 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-08-02 16:05
This was fixed in r71759 and backported in the 2.6 branch in r71765,

thanks for the feedback!
History
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50853
2009-08-02 16:05:28tareksetstatus: open -> closed
resolution: wont fix
messages: + msg91185
2009-07-30 16:54:33matejcikcreate