cpython/Lib/test/test_lib2to3/__init__.py
Victor Stinner 616fa3465d
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.
2022-06-21 15:21:22 +02:00

11 lines
314 B
Python

# Author: Collin Winter
import os
import warnings
from test.support import load_package_tests
def load_tests(*args):
with warnings.catch_warnings():
warnings.filterwarnings('ignore', category=DeprecationWarning, message='lib2to3')
return load_package_tests(os.path.dirname(__file__), *args)