mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
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:
parent
d8840860df
commit
b49c70c7d3
4 changed files with 21 additions and 37 deletions
|
@ -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__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue