[issue7266] test_lib2to3 failure under Windows

Antoine Pitrou report at bugs.python.org
Thu Nov 5 16:06:31 CET 2009

New submission from Antoine Pitrou <pitrou at free.fr>:

test_lib2to3 fails deterministically on the Windows buildbots:

test test_lib2to3 failed -- Traceback (most recent call last):
line 161, in test_all_project_files
    self.fail("Idempotency failed: %s" % filepath)
AssertionError: Idempotency failed:

If you look at the logs (*), you'll see that it's apparently just a
newline issue. Either the test should be modified to ignore newline
style changes, or lib2to3 should be fixed to output the same kind of
newlines it encountered on input.

(*) e.g.

assignee: benjamin.peterson
components: 2to3 (2.x to 3.0 conversion tool)
messages: 94933
nosy: benjamin.peterson, pitrou
priority: normal
severity: normal
status: open
title: test_lib2to3 failure under Windows
type: behavior
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list