cpython/Lib/importlib/test
Brett Cannon 23cf5743ae Rework importlib benchmarks so that they measure number of executions within a
second instead of some fixed number.

Keeps benchmark faster by putting a cap on total execution time. Before a run
using importlib took longer by some factor, but now it takes roughly the
same amount of time as using the built-in __import__.
2009-09-03 20:45:21 +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_ Trying to import a submodule from another module and not a package was raising 2009-08-30 20:22: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 Provide module docstrings for the two main test drivers in importlib that 2009-08-30 08:39:57 +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 Rework importlib benchmarks so that they measure number of executions within a 2009-09-03 20:45:21 +00:00
regrtest.py Clarify why test_import is failing under importlib. 2009-08-30 23:41:40 +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