summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-07-15 04:08:33 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-07-15 04:08:33 (GMT)
commitb49c70c7d30361856b73e0cf8de7cd6ad3af5e9f (patch)
tree7202abb69d89050068f426da408cf01b6375b7d8 /Lib/test
parentd8840860df164191ae5ab81d37435517f0d0a31b (diff)
downloadcpython-b49c70c7d30361856b73e0cf8de7cd6ad3af5e9f.zip
cpython-b49c70c7d30361856b73e0cf8de7cd6ad3af5e9f.tar.gz
cpython-b49c70c7d30361856b73e0cf8de7cd6ad3af5e9f.tar.bz2
Importlib was using custom code to discover all test modules in importlib.test.
This has now been removed in favor of using unittest's test discovery code in TestLoader.discover().
Diffstat (limited to 'Lib/test')
-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__':