cpython/Lib/test/test_importlib/import_
Ngalim Siregar c5fa44944e bpo-37444: Update differing exception between builtins and importlib (GH-14869)
Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure.


https://bugs.python.org/issue37444



Automerge-Triggered-By: @brettcannon
2019-08-02 22:46:02 -07:00
..
__init__.py
__main__.py
test___loader__.py
test___package__.py
test_api.py
test_caching.py
test_fromlist.py
test_meta_path.py
test_packages.py
test_path.py
test_relative_imports.py