[New-bugs-announce] [issue6583] 2to3 fails to fix test.test_support

Joe Amenta report at bugs.python.org
Mon Jul 27 07:21:22 CEST 2009

New submission from Joe Amenta <amentajo at msu.edu>:

PEP 3108 states that test.test_support was renamed to test.support as a
part of the Standard Library Reorganization process.  However...

2to3 does not refactor (or even warn about) test.test_support.  Simply
"test.test_support": "test.support",
into the MAPPING of fix_imports.py would not work, because
fix_imports.py does not accept anything with a dot in it, i.e. "foo.bar".

components: 2to3 (2.x to 3.0 conversion tool)
files: 2to3_out.txt
messages: 90975
nosy: joe.amenta
severity: normal
status: open
title: 2to3 fails to fix test.test_support
type: behavior
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14575/2to3_out.txt

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list