cpython/Lib/importlib/test/import_
Brett Cannon 1c1dcbfd5d Trying to import a submodule from another module and not a package was raising
AttributeError in importlib when it should be an ImportError.

Found when running importlib against test_runpy.
2009-08-30 20:22:21 +00:00
..
__init__.py
test___package__.py When the globals argument to importlib.__import__() contained any value for 2009-08-30 19:53:48 +00:00
test_api.py Raise TypeError if the name given to importlib.__import__() lacks an rpartition 2009-08-30 19:08:58 +00:00
test_caching.py Have importlib raise ImportError if None is found in sys.modules. This matches 2009-08-30 03:47:36 +00:00
test_fromlist.py Allow importlib.__import__ to accept any iterable for fromlist. Discovered when 2009-08-30 18:28:46 +00:00
test_meta_path.py convert old fail* assertions to assert* 2009-06-30 23:06:06 +00:00
test_packages.py Trying to import a submodule from another module and not a package was raising 2009-08-30 20:22:21 +00:00
test_path.py Remove unused import for function that no longer exists. 2009-07-01 02:51:00 +00:00
test_relative_imports.py Move over to using assertRaises as a context manager for importlib tests. 2009-08-27 23:49:21 +00:00
util.py Fix the importlib_only test decorator to work again; don't capture the flag variable as it might change later. 2009-08-30 18:59:21 +00:00