cpython/Lib/lib2to3/tests
Serhiy Storchaka bedce3538c
[3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455)
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-19 22:36:03 +03:00
..
data [3.10] bpo-45229: Remove test_main in many tests (GH-28405) (GH-28455) 2021-09-19 22:36:03 +03:00
__init__.py Remove unused imports. 2016-12-16 20:00:15 +02:00
__main__.py Issue #22173: Update lib2to3 tests to use unittest test discovery. 2014-10-29 12:24:59 -05:00
pytree_idempotency.py Issue 26911: fix import (other problems remain). 2016-05-06 15:57:57 -04:00
support.py closes bpo-30117: fix lib2to3 ParserIdempotency test (GH-1242) 2018-01-29 23:13:03 -08:00
test_all_fixers.py Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
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 Issue #19592: Use specific asserts in lib2to3 tests. 2013-11-14 23:49:58 +02:00
test_parser.py make lib2to3 parse async generators everywhere (GH-6588) 2021-08-10 06:47:11 -07:00
test_pytree.py Remove legacy "from __future__ import with_statement" lines. 2016-09-08 13:47:41 -07:00
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 Issue #23277: Remove more unused sys and os imports. 2016-04-24 13:25:01 +03:00