[New-bugs-announce] [issue6604] test_distutils subtest test_get_exe_bytes fails depending on execution order

jan matejek report at bugs.python.org
Thu Jul 30 18:54:36 CEST 2009


New submission from jan matejek <jmatejek at suse.cz>:

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)

----------
assignee: tarek
components: Distutils
files: python-2.6.2-test_distutils.patch
keywords: patch
messages: 91100
nosy: matejcik, tarek
severity: normal
status: open
title: test_distutils subtest test_get_exe_bytes fails depending on execution order
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file14607/python-2.6.2-test_distutils.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6604>
_______________________________________


More information about the New-bugs-announce mailing list