]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-54781: Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/ (#94049)
authorVictor Stinner <vstinner@python.org>
Tue, 21 Jun 2022 13:21:22 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2022 13:21:22 +0000 (15:21 +0200)
commit616fa3465d99a262dc8948ff5e00e47fe92eaaba
treefda7c1d51f6e239a6b3c5ef35f5e4d7252cc5ad1
parent50ebd72fb0e69c78f95cea3d4a47589beb91ac37
gh-54781: Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/ (#94049)

* Move Lib/lib2to3/tests/ to Lib/test/test_lib2to3/.
* Remove Lib/test/test_lib2to3.py.
* Update imports.
* all_project_files(): use different paths and sort files
  to make the tests more reproducible.
* Update references to tests.
35 files changed:
Lib/test/test_lib2to3.py [deleted file]
Lib/test/test_lib2to3/__init__.py [moved from Lib/lib2to3/tests/__init__.py with 100% similarity]
Lib/test/test_lib2to3/__main__.py [moved from Lib/lib2to3/tests/__main__.py with 100% similarity]
Lib/test/test_lib2to3/data/README [moved from Lib/lib2to3/tests/data/README with 100% similarity]
Lib/test/test_lib2to3/data/bom.py [moved from Lib/lib2to3/tests/data/bom.py with 100% similarity]
Lib/test/test_lib2to3/data/crlf.py [moved from Lib/lib2to3/tests/data/crlf.py with 100% similarity]
Lib/test/test_lib2to3/data/different_encoding.py [moved from Lib/lib2to3/tests/data/different_encoding.py with 100% similarity]
Lib/test/test_lib2to3/data/false_encoding.py [moved from Lib/lib2to3/tests/data/false_encoding.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/bad_order.py [moved from Lib/lib2to3/tests/data/fixers/bad_order.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/myfixes/__init__.py [moved from Lib/lib2to3/tests/data/fixers/myfixes/__init__.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/myfixes/fix_explicit.py [moved from Lib/lib2to3/tests/data/fixers/myfixes/fix_explicit.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/myfixes/fix_first.py [moved from Lib/lib2to3/tests/data/fixers/myfixes/fix_first.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/myfixes/fix_last.py [moved from Lib/lib2to3/tests/data/fixers/myfixes/fix_last.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/myfixes/fix_parrot.py [moved from Lib/lib2to3/tests/data/fixers/myfixes/fix_parrot.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/myfixes/fix_preorder.py [moved from Lib/lib2to3/tests/data/fixers/myfixes/fix_preorder.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/no_fixer_cls.py [moved from Lib/lib2to3/tests/data/fixers/no_fixer_cls.py with 100% similarity]
Lib/test/test_lib2to3/data/fixers/parrot_example.py [moved from Lib/lib2to3/tests/data/fixers/parrot_example.py with 100% similarity]
Lib/test/test_lib2to3/data/infinite_recursion.py [moved from Lib/lib2to3/tests/data/infinite_recursion.py with 100% similarity]
Lib/test/test_lib2to3/data/py2_test_grammar.py [moved from Lib/lib2to3/tests/data/py2_test_grammar.py with 100% similarity]
Lib/test/test_lib2to3/data/py3_test_grammar.py [moved from Lib/lib2to3/tests/data/py3_test_grammar.py with 100% similarity]
Lib/test/test_lib2to3/pytree_idempotency.py [moved from Lib/lib2to3/tests/pytree_idempotency.py with 96% similarity]
Lib/test/test_lib2to3/support.py [moved from Lib/lib2to3/tests/support.py with 77% similarity]
Lib/test/test_lib2to3/test_all_fixers.py [moved from Lib/lib2to3/tests/test_all_fixers.py with 100% similarity]
Lib/test/test_lib2to3/test_fixers.py [moved from Lib/lib2to3/tests/test_fixers.py with 99% similarity]
Lib/test/test_lib2to3/test_main.py [moved from Lib/lib2to3/tests/test_main.py with 100% similarity]
Lib/test/test_lib2to3/test_parser.py [moved from Lib/lib2to3/tests/test_parser.py with 99% similarity]
Lib/test/test_lib2to3/test_pytree.py [moved from Lib/lib2to3/tests/test_pytree.py with 100% similarity]
Lib/test/test_lib2to3/test_refactor.py [moved from Lib/lib2to3/tests/test_refactor.py with 100% similarity]
Lib/test/test_lib2to3/test_util.py [moved from Lib/lib2to3/tests/test_util.py with 100% similarity]
Mac/BuildScript/scripts/postflight.framework
Makefile.pre.in
PCbuild/lib.pyproj
Tools/peg_generator/Makefile
Tools/peg_generator/scripts/benchmark.py
Tools/scripts/generate_stdlib_module_names.py