cpython/Lib/lib2to3/tests/data
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
..
fixers Merged revisions 73370 via svnmerge from 2009-06-11 23:47:38 +00:00
bom.py Merged revisions 85510 via svnmerge from 2010-10-14 23:03:32 +00:00
crlf.py bpo-11594: Ensure line-endings are respected when using 2to3 (GH-6483) 2018-04-17 14:34:14 -07:00
different_encoding.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:15:49 +02:00
false_encoding.py Issue #19936: Added executable bits or shebang lines to Python scripts which 2014-01-16 17:15:49 +02:00
infinite_recursion.py Merged revisions 66797 via svnmerge from 2008-10-04 21:04:36 +00:00
py2_test_grammar.py [3.9] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28456) 2021-09-20 09:34:52 +03:00
py3_test_grammar.py [3.9] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28456) 2021-09-20 09:34:52 +03:00
README Merged revisions 66887,66891,66902-66903,66905-66906,66911-66913,66922,66927-66928,66936,66939-66940,66962,66964,66973 via svnmerge from 2008-10-19 14:07:49 +00:00

In this directory:
- py2_test_grammar.py -- test file that exercises most/all of Python 2.x's grammar.
- py3_test_grammar.py -- test file that exercises most/all of Python 3.x's grammar.
- infinite_recursion.py -- test file that causes lib2to3's faster recursive pattern matching
  scheme to fail, but passes when lib2to3 falls back to iterative pattern matching.
- fixes/ -- for use by test_refactor.py