summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib.py')
-rw-r--r--Lib/test/test_importlib.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/test/test_importlib.py b/Lib/test/test_importlib.py
index cd13e32..6ed0585 100644
--- a/Lib/test/test_importlib.py
+++ b/Lib/test/test_importlib.py
@@ -1,9 +1,4 @@
-from test.support import run_unittest
-import importlib.test
-
-
-def test_main():
- run_unittest(importlib.test.test_suite('importlib.test'))
+from importlib.test.__main__ import test_main
if __name__ == '__main__':