This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
cpython
Watch
0
Star
0
Fork
0
You've already forked cpython
mirror of
https://github.com/python/cpython.git
synced
2024-12-15 21:04:00 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5f6213be2d
cpython
/
Lib
/
test
/
test_importlib.py
6 lines
91 B
Python
Raw
Normal View
History
Unescape
Escape
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().
2009-07-15 12:08:33 +08:00
from
importlib
.
test
.
__main__
import
test_main
Add initial implementation of importlib. See the NOTES files for what is planned for the package. There are no docs yet, but they are coming once the API for the first new function, importlib.import_module() is finalized.
2009-01-18 08:24:28 +08:00
if
__name__
==
'
__main__
'
:
test_main
(
)
Reference in New Issue
Copy Permalink