This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
cpython
mirror of
https://github.com/python/cpython
Watch
4
Star
1
Fork
You've already forked cpython
0
Code
Issues
Releases
Wiki
Activity
4b87620d5d
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 01:08:33 -03: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-17 20:24:28 -04:00
if
__name__
==
'
__main__
'
:
test_main
(
)