cpython/Lib/importlib/test
Brett Cannon de4ebfe559 When the globals argument to importlib.__import__() contained any value for
__package__, it was used. This was incorrect since it could be set to None to
represent the fact that a proper value was unknown. Now None will trigger the
calculation for __package__.

Discovered when running importlib against test_importhooks.
2009-08-30 19:53:48 +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_ When the globals argument to importlib.__import__() contained any value for 2009-08-30 19:53:48 +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 Add simple tests for __import__ for future optimizations to importlib. 2009-03-30 15:53:01 +00:00
regrtest.py Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur. 2009-08-30 19:44:32 +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