cpython/Lib/importlib/test
Brett Cannon 5e129dbc16 Add a test file to importlib that runs regrtest using importlib.__import__.
The file must be run using runpy. Certain tests are currently excluded from
being run as they have known failures based on golden value checks that fail
for various reasons (typically because __loader__ is not expected to be set on
modules). Running the tests with this file does discover some incompatibilites
in importlib that will be fixed in the near future (as noted currently in the
docstring).
2009-08-27 23:52:35 +00:00
..
builtin Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
extension Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
frozen Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
import_ Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
source Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
__init__.py Importlib was using custom code to discover all test modules in importlib.test. 2009-07-15 04:08:33 +00:00
__main__.py Add support for a --builtin argument to importlib.test to trigger running 2009-08-27 23:49:56 +00:00
abc.py Introduce importlib.abc. The module contains various ABCs related to imports 2009-03-09 03:35:50 +00:00
benchmark.py Add simple tests for __import__ for future optimizations to importlib. 2009-03-30 15:53:01 +00:00
regrtest.py Add a test file to importlib that runs regrtest using importlib.__import__. 2009-08-27 23:52:35 +00:00
test_abc.py Implement the PEP 302 protocol for get_filename() as 2009-07-20 04:23:48 +00:00
test_api.py Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
test_util.py convert old fail* assertions to assert* 2009-06-30 23:06:06 +00:00
util.py Remove custom test-skipping code in importlib tests for unittest code. 2009-07-20 01:05:40 +00:00