cpython/Lib/importlib/test
Brett Cannon 0cf9e6a621 Move importlib.abc.SourceLoader to _bootstrap.
Required updating code relying on other modules to switch to _bootstrap's
unique module requirements. This led to the realization that
get_code was being too liberal in its exception catching when calling set_data
by blindly grabbing IOError. Shifted the responsibility of safely ignoring
writes to a read-only path to set_data.

Importlib is still not relying on SourceLoader yet; requires creating a
SourcelessLoader and updating the source finder.
2010-06-28 04:57:24 +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 importlib.abc.SourceLoader to _bootstrap. 2010-06-28 04:57:24 +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 Remove unnecessary XXX 2010-04-17 00:31:11 +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 Move over to assertIs. 2010-06-21 02:49:35 +00:00
util.py Remove custom test-skipping code in importlib tests for unittest code. 2009-07-20 01:05:40 +00:00