Skip to content

Commit 2bd6bea

Browse files
committed
gh-139322: Create test_os package
Move test_os.py and test_posix.py into a new test_os package.
1 parent 8d83b7d commit 2bd6bea

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
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)
File renamed without changes.
File renamed without changes.

Makefile.pre.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,6 +2682,7 @@ TESTSUBDIRS= idlelib/idle_test \
26822682
test/test_multiprocessing_fork \
26832683
test/test_multiprocessing_forkserver \
26842684
test/test_multiprocessing_spawn \
2685+
test/test_os \
26852686
test/test_pathlib \
26862687
test/test_pathlib/support \
26872688
test/test_peg_generator \
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Move test_posix into a new test_os package. Patch by Victor Stinner.

0 commit comments

Comments
 (0)