mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00

* 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.
11 lines
314 B
Python
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)
|