cpython/Lib/test/test_importlib/import_
Brett Cannon 9fa812668f Issue #18018: Raise an ImportError if a relative import is attempted
with no known parent package.

Previously SystemError was raised if the parent package didn't exist
(e.g., __package__ was set to '').
Thanks to Florent Xicluna and Yongzhi Pan for reporting the issue.
2016-01-22 16:39:02 -08:00
..
__init__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
test___loader__.py Issue #23014: Make importlib.abc.Loader.create_module() required when 2015-01-09 11:39:21 -05:00
test___package__.py whitespace cleanup 2016-01-22 15:26:56 -08:00
test_api.py Issue #23014: Make importlib.abc.Loader.create_module() required when 2015-01-09 11:39:21 -05:00
test_caching.py Issue #21503: Use test_both() consistently in test_importlib. 2014-05-16 11:40:40 -06:00
test_fromlist.py Issue #19593: Use specific asserts in importlib tests. 2014-07-07 14:09:43 +03:00
test_meta_path.py Issue #19593: Use specific asserts in importlib tests. 2014-07-07 14:09:43 +03:00
test_packages.py Issue #21503: Use test_both() consistently in test_importlib. 2014-05-16 11:40:40 -06:00
test_path.py Issue #25595: Fixed test_deleted_cwd in test_importlib on AIX. 2015-11-11 08:26:59 +02:00
test_relative_imports.py Issue #18018: Raise an ImportError if a relative import is attempted 2016-01-22 16:39:02 -08:00