mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
458ad47a2c
commit
23cbd8a656
35 changed files with 3360 additions and 0 deletions
13
Lib/importlib/test/extension/__init__.py
Normal file
13
Lib/importlib/test/extension/__init__.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import importlib.test
|
||||
import os.path
|
||||
import unittest
|
||||
|
||||
|
||||
def test_suite():
|
||||
directory = os.path.dirname(__file__)
|
||||
return importlib.test.test_suite('importlib.test.extension', directory)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from test.support import run_unittest
|
||||
run_unittest(test_suite())
|
Loading…
Add table
Add a link
Reference in a new issue