[New-bugs-announce] [issue10505] test_compileall: failure on Windows

Stefan Krah report at bugs.python.org
Mon Nov 22 15:41:01 CET 2010

New submission from Stefan Krah <stefan-usenet at bytereef.org>:

On Windows, test_compileall fails due to #10197:

FAIL: test_quiet (test.test_compileall.CommandLineTests)
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_compileall.py", line 227, in test_quiet
    self.assertGreater(len(noise), len(quiet))
AssertionError: 89 not greater than 89

The patch uses subprocess.check_output() instead. Technically, now
byte strings are compared instead of strings, but that should not matter
for the outcome.

Does the patch look ok?

components: Tests
files: test_compileall.patch
keywords: buildbot, patch
messages: 122129
nosy: brian.curtin, r.david.murray, skrah
priority: normal
severity: normal
stage: patch review
status: open
title: test_compileall: failure on Windows
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file19771/test_compileall.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list