summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/builtin/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/builtin/__init__.py')
-rw-r--r--Lib/test/test_importlib/builtin/__init__.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/Lib/test/test_importlib/builtin/__init__.py b/Lib/test/test_importlib/builtin/__init__.py
index 15c0ade..4b16ecc 100644
--- a/Lib/test/test_importlib/builtin/__init__.py
+++ b/Lib/test/test_importlib/builtin/__init__.py
@@ -1,12 +1,5 @@
-from .. import test_suite
import os
+from test.support import load_package_tests
-
-def test_suite():
- directory = os.path.dirname(__file__)
- return test_suite('importlib.test.builtin', directory)
-
-
-if __name__ == '__main__':
- from test.support import run_unittest
- run_unittest(test_suite())
+def load_tests(*args):
+ return load_package_tests(os.path.dirname(__file__), *args)