Skip to content

Commit 491cb89

Browse files
committed
gh-139322: Create test_os package
* Move test_posix.py and test_os.py to Lib/test/test_os/ * Split Windows specific test cases to a new test_windows.py file.
1 parent 01157e0 commit 491cb89

File tree

4 files changed

+9
-628
lines changed

4 files changed

+9
-628
lines changed

Lib/test/libregrtest/findtests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@
2525
"test_gdb",
2626
"test_inspect",
2727
"test_io",
28-
"test_pydoc",
2928
"test_multiprocessing_fork",
3029
"test_multiprocessing_forkserver",
3130
"test_multiprocessing_spawn",
31+
"test_os",
32+
"test_pydoc",
3233
}
3334

3435

Lib/test/test_os/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import os.path
2+
from test.support import load_package_tests
3+
4+
5+
def load_tests(*args):
6+
return load_package_tests(os.path.dirname(__file__), *args)

0 commit comments

Comments
 (0)