This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
cpython
Watch
2
Star
0
Fork
You've already forked cpython
0
mirror of
https://github.com/python/cpython.git
synced
2025-10-23 09:53:47 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
2f92389d5c
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 04:08:33 +00: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 00:24:28 +00:00
if
__name__
==
'
__main__
'
:
test_main
(
)
Reference in a new issue
Copy permalink