cpython/Lib/lib2to3/tests
Gregory P. Smith 42c9f0fd0a
bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759)
Add positional only args support to lib2to3 pgen2.

This adds 3.8's PEP-570 support to lib2to3's pgen2.  lib2to3, while
being deprecated is still used by things to parse all versions of Python
code today.  We need it to support parsing modern 3.8 and 3.9 constructs.

Also add tests for complex *expr and **expr's.
2020-12-14 09:10:10 -08:00
..
data bpo-38641: Add lib2to3 support for starred expressions in return/yield statements (GH-16994) 2020-03-01 19:59:26 +00:00
__init__.py Remove unused imports. 2016-12-16 20:00:15 +02:00
__main__.py
pytree_idempotency.py
support.py closes bpo-30117: fix lib2to3 ParserIdempotency test (GH-1242) 2018-01-29 23:13:03 -08:00
test_all_fixers.py
test_fixers.py bpo-38080: Added "getproxies" to urllib fixes in the 2to3 tool (GH-16167) 2020-03-11 23:51:20 +00:00
test_main.py
test_parser.py bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759) 2020-12-14 09:10:10 -08:00
test_pytree.py
test_refactor.py bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967) 2020-01-12 14:13:31 -08:00
test_util.py