cpython/Lib/test/test_importlib
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
..
builtin
data
data01
data02
data03
extension
frozen
import_ bpo-37444: Update differing exception between builtins and importlib (GH-14869) 2019-08-02 22:46:02 -07:00
namespace_pkgs
source
zipdata01
zipdata02
__init__.py
__main__.py
abc.py
fixtures.py bpo-37697: Sync with importlib_metadata 0.19 (#14993) 2019-07-28 14:59:24 -04:00
test_abc.py
test_api.py
test_lazy.py
test_locks.py
test_main.py bpo-37697: Sync with importlib_metadata 0.19 (#14993) 2019-07-28 14:59:24 -04:00
test_metadata_api.py
test_namespace_pkgs.py
test_open.py
test_path.py
test_pkg_import.py bpo-19696: Replace deprecated method in "test_import_pkg.py" (GH-14466) 2019-07-03 11:22:40 -07:00
test_read.py
test_resource.py
test_spec.py
test_threaded_import.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
test_util.py bpo-37444: Update differing exception between builtins and importlib (GH-14869) 2019-08-02 22:46:02 -07:00
test_windows.py
test_zip.py bpo-37697: Sync with importlib_metadata 0.19 (#14993) 2019-07-28 14:59:24 -04:00
threaded_import_hangers.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
util.py Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00