cpython/Lib/test/test_importlib
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
..
builtin
extension use assert method in another place 2015-05-30 00:02:17 -05:00
frozen
import_ Issue #18018: Raise an ImportError if a relative import is attempted 2016-01-22 16:39:02 -08:00
namespace_pkgs
source
__init__.py
__main__.py
abc.py
regrtest.py
test_abc.py
test_api.py
test_lazy.py
test_locks.py
test_namespace_pkgs.py
test_spec.py
test_util.py
test_windows.py
util.py