]> granicus.if.org Git - python/commit
Start improving 2to3 code in packaging (#13462).
authorÉric Araujo <merwok@netwok.org>
Thu, 9 Feb 2012 20:37:14 +0000 (21:37 +0100)
committerÉric Araujo <merwok@netwok.org>
Thu, 9 Feb 2012 20:37:14 +0000 (21:37 +0100)
commit692a49394dd871bf73418f018fd215678dc67e25
tree20428602a7158430794f755ad60fa107bb5a4d05
parent1a765f5d9d3603b9d2d1415fcc8433c5f5e9e6e1
Start improving 2to3 code in packaging (#13462).

- Change the fixers used in tests to something not provided by lib2to3
- Test conversion of doctests in text files
- Factor out test boilerplate into a common method
Lib/packaging/compat.py
Lib/packaging/tests/fixer/fix_echo.py [new file with mode: 0644]
Lib/packaging/tests/fixer/fix_echo2.py [new file with mode: 0644]
Lib/packaging/tests/fixer/fix_idioms.py [deleted file]
Lib/packaging/tests/test_mixin2to3.py
Lib/packaging/util.py