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().
This commit is contained in:
Brett Cannon 2009-07-15 04:08:33 +00:00
parent d8840860df
commit b49c70c7d3
4 changed files with 21 additions and 37 deletions

View file

@ -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__':