gh-138013: Make `test.test_io` into a package (#138153)

This commit is contained in:
Cody Maloney 2025-08-31 12:14:19 -07:00 committed by GitHub
parent 552cf86b83
commit 15e37ea6b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,5 @@
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)

View file

@ -0,0 +1,4 @@
from . import load_tests
import unittest
unittest.main()

View file

@ -5,7 +5,7 @@
# * test_memoryio - tests BytesIO and StringIO
# * test_fileio - tests FileIO
# * test_file - tests the file interface
# * test_io - tests everything else in the io module
# * test_io.test_general - tests everything else in the io module
# * test_univnewlines - tests universal newline support
# * test_largefile - tests operations on a file greater than 2**32 bytes
# (only enabled with -ulargefile)

View file

@ -2670,6 +2670,7 @@ TESTSUBDIRS= idlelib/idle_test \
test/test_importlib/source \
test/test_inspect \
test/test_interpreters \
test/test_io \
test/test_json \
test/test_module \
test/test_multiprocessing_fork \