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
__main__.py
test___loader__.py
test___package__.py whitespace cleanup 2016-01-22 15:26:56 -08:00
test_api.py
test_caching.py
test_fromlist.py
test_meta_path.py
test_packages.py
test_path.py
test_relative_imports.py Issue #18018: Raise an ImportError if a relative import is attempted 2016-01-22 16:39:02 -08:00