mirror of
https://github.com/python/cpython.git
synced 2024-11-28 16:45:42 +01:00
23cbd8a656
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.
13 lines
270 B
Python
13 lines
270 B
Python
import importlib.test
|
|
import os
|
|
|
|
|
|
def test_suite():
|
|
directory = os.path.dirname(__file__)
|
|
return importlib.test.test_suite('importlib.test.builtin', directory)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
from test.support import run_unittest
|
|
run_unittest(test_suite())
|