cpython/Lib/lib2to3
Serhiy Storchaka 5822ab672a
[3.9] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28456)
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.

load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests..
(cherry picked from commit 40348acc18)
2021-09-20 09:34:52 +03:00
..
fixes bpo-38080: Added "getproxies" to urllib fixes in the 2to3 tool (GH-16167) 2020-03-11 23:51:20 +00:00
pgen2 make lib2to3 parse async generators everywhere (GH-6588) (GH-27703) 2021-08-10 11:56:50 +02:00
tests [3.9] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28456) 2021-09-20 09:34:52 +03:00
__init__.py bpo-40360: Deprecate lib2to3 module in light of PEP 617 (GH-19663) 2020-04-24 11:19:46 -07:00
__main__.py
btm_matcher.py
btm_utils.py
fixer_base.py
fixer_util.py Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
Grammar.txt bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759) 2020-12-14 09:38:03 -08:00
main.py bpo-39313: Add an option to RefactoringTool for using exec as a function (GH-17967) 2020-01-12 14:13:31 -08:00
patcomp.py remove unused import (#5040) 2017-12-28 23:24:40 -08:00
PatternGrammar.txt
pygram.py bpo-23896: Add a grammar where exec isn't a stmt (#13272) 2019-05-20 13:27:10 -07:00
pytree.py
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