diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-21 13:21:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 13:21:22 (GMT) |
commit | 616fa3465d99a262dc8948ff5e00e47fe92eaaba (patch) | |
tree | fda7c1d51f6e239a6b3c5ef35f5e4d7252cc5ad1 /PCbuild | |
parent | 50ebd72fb0e69c78f95cea3d4a47589beb91ac37 (diff) | |
download | cpython-616fa3465d99a262dc8948ff5e00e47fe92eaaba.zip cpython-616fa3465d99a262dc8948ff5e00e47fe92eaaba.tar.gz cpython-616fa3465d99a262dc8948ff5e00e47fe92eaaba.tar.bz2 |
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.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/lib.pyproj | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/PCbuild/lib.pyproj b/PCbuild/lib.pyproj index f3f44d1..2355eb5 100644 --- a/PCbuild/lib.pyproj +++ b/PCbuild/lib.pyproj @@ -561,33 +561,6 @@ <Compile Include="lib2to3\pygram.py" /> <Compile Include="lib2to3\pytree.py" /> <Compile Include="lib2to3\refactor.py" /> - <Compile Include="lib2to3\tests\data\bom.py" /> - <Compile Include="lib2to3\tests\data\crlf.py" /> - <Compile Include="lib2to3\tests\data\different_encoding.py" /> - <Compile Include="lib2to3\tests\data\false_encoding.py" /> - <Compile Include="lib2to3\tests\data\fixers\bad_order.py" /> - <Compile Include="lib2to3\tests\data\fixers\myfixes\fix_explicit.py" /> - <Compile Include="lib2to3\tests\data\fixers\myfixes\fix_first.py" /> - <Compile Include="lib2to3\tests\data\fixers\myfixes\fix_last.py" /> - <Compile Include="lib2to3\tests\data\fixers\myfixes\fix_parrot.py" /> - <Compile Include="lib2to3\tests\data\fixers\myfixes\fix_preorder.py" /> - <Compile Include="lib2to3\tests\data\fixers\myfixes\__init__.py" /> - <Compile Include="lib2to3\tests\data\fixers\no_fixer_cls.py" /> - <Compile Include="lib2to3\tests\data\fixers\parrot_example.py" /> - <Compile Include="lib2to3\tests\data\infinite_recursion.py" /> - <Compile Include="lib2to3\tests\data\py2_test_grammar.py" /> - <Compile Include="lib2to3\tests\data\py3_test_grammar.py" /> - <Compile Include="lib2to3\tests\pytree_idempotency.py" /> - <Compile Include="lib2to3\tests\support.py" /> - <Compile Include="lib2to3\tests\test_all_fixers.py" /> - <Compile Include="lib2to3\tests\test_fixers.py" /> - <Compile Include="lib2to3\tests\test_main.py" /> - <Compile Include="lib2to3\tests\test_parser.py" /> - <Compile Include="lib2to3\tests\test_pytree.py" /> - <Compile Include="lib2to3\tests\test_refactor.py" /> - <Compile Include="lib2to3\tests\test_util.py" /> - <Compile Include="lib2to3\tests\__init__.py" /> - <Compile Include="lib2to3\tests\__main__.py" /> <Compile Include="lib2to3\__init__.py" /> <Compile Include="lib2to3\__main__.py" /> <Compile Include="linecache.py" /> @@ -1157,7 +1130,33 @@ <Compile Include="test\test_keywordonlyarg.py" /> <Compile Include="test\test_kqueue.py" /> <Compile Include="test\test_largefile.py" /> - <Compile Include="test\test_lib2to3.py" /> + <Compile Include="test\test_lib2to3\data\bom.py" /> + <Compile Include="test\test_lib2to3\data\crlf.py" /> + <Compile Include="test\test_lib2to3\data\different_encoding.py" /> + <Compile Include="test\test_lib2to3\data\false_encoding.py" /> + <Compile Include="test\test_lib2to3\data\fixers\bad_order.py" /> + <Compile Include="test\test_lib2to3\data\fixers\myfixes\fix_explicit.py" /> + <Compile Include="test\test_lib2to3\data\fixers\myfixes\fix_first.py" /> + <Compile Include="test\test_lib2to3\data\fixers\myfixes\fix_last.py" /> + <Compile Include="test\test_lib2to3\data\fixers\myfixes\fix_parrot.py" /> + <Compile Include="test\test_lib2to3\data\fixers\myfixes\fix_preorder.py" /> + <Compile Include="test\test_lib2to3\data\fixers\myfixes\__init__.py" /> + <Compile Include="test\test_lib2to3\data\fixers\no_fixer_cls.py" /> + <Compile Include="test\test_lib2to3\data\fixers\parrot_example.py" /> + <Compile Include="test\test_lib2to3\data\infinite_recursion.py" /> + <Compile Include="test\test_lib2to3\data\py2_test_grammar.py" /> + <Compile Include="test\test_lib2to3\data\py3_test_grammar.py" /> + <Compile Include="test\test_lib2to3\pytree_idempotency.py" /> + <Compile Include="test\test_lib2to3\support.py" /> + <Compile Include="test\test_lib2to3\test_all_fixers.py" /> + <Compile Include="test\test_lib2to3\test_fixers.py" /> + <Compile Include="test\test_lib2to3\test_main.py" /> + <Compile Include="test\test_lib2to3\test_parser.py" /> + <Compile Include="test\test_lib2to3\test_pytree.py" /> + <Compile Include="test\test_lib2to3\test_refactor.py" /> + <Compile Include="test\test_lib2to3\test_util.py" /> + <Compile Include="test\test_lib2to3\__init__.py" /> + <Compile Include="test\test_lib2to3\__main__.py" /> <Compile Include="test\test_linecache.py" /> <Compile Include="test\test_list.py" /> <Compile Include="test\test_listcomps.py" /> @@ -1743,10 +1742,6 @@ <Folder Include="lib2to3" /> <Folder Include="lib2to3\fixes" /> <Folder Include="lib2to3\pgen2" /> - <Folder Include="lib2to3\tests" /> - <Folder Include="lib2to3\tests\data" /> - <Folder Include="lib2to3\tests\data\fixers" /> - <Folder Include="lib2to3\tests\data\fixers\myfixes" /> <Folder Include="logging" /> <Folder Include="msilib" /> <Folder Include="multiprocessing" /> @@ -1802,6 +1797,10 @@ <Folder Include="test\test_import\data\package" /> <Folder Include="test\test_import\data\package2" /> <Folder Include="test\test_json" /> + <Folder Include="test\test_lib2to3" /> + <Folder Include="test\test_lib2to3\data" /> + <Folder Include="test\test_lib2to3\data\fixers" /> + <Folder Include="test\test_lib2to3\data\fixers\myfixes" /> <Folder Include="test\test_peg_generator" /> <Folder Include="test\test_tools" /> <Folder Include="test\test_unittest" /> |