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_compileall: failure on Windows
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Add -h/--help option to compileall
View: 10453
Assigned To: Nosy List: brian.curtin, eric.araujo, r.david.murray, skrah
Priority: normal Keywords: buildbot, patch

Created on 2010-11-22 14:40 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_compileall.patch skrah, 2010-11-22 14:40
Messages (2)
msg122129 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2010-11-22 14:40
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?
msg122130 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-22 14:47
Can you post on #10453?  Thanks in advance.
History
Date User Action Args
2022-04-11 14:57:09adminsetgithub: 54714
2010-11-22 14:47:33eric.araujosetstatus: open -> closed

superseder: Add -h/--help option to compileall

nosy: + eric.araujo
messages: + msg122130
resolution: duplicate
stage: patch review -> resolved
2010-11-22 14:40:57skrahcreate