Skip to content

Commit ecc164f

Browse files
bpo-34272: Reorganize C API tests. (GH-8551)
Move some C API tests into Lib/test/test_capi/. (cherry picked from commit f883b7f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent 92b531b commit ecc164f

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed

Lib/test/test_capi/__init__.py

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

Lib/test/test_capi/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import unittest
2+
3+
unittest.main('test.test_capi')
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Some C API tests were moved into the new Lib/test/test_capi/ directory.

0 commit comments

Comments
 (0)