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 cross port importlib-metadata PR #76 (#13903) 2019-06-07 14:23:38 -07:00
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 bpo-30202 : Update test.test_importlib.test_abc to test find_spec() (GH-12847) 2019-06-21 11:17:00 -07:00
test_api.py
test_lazy.py bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
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 bpo-34632: Add importlib.metadata (GH-12547) 2019-05-24 16:59:01 -07:00
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