cpython/Lib/test/test_importlib
Milan Oberkirch 8c3f05e9f0 bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)
Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.
2017-06-14 14:34:50 -07:00
..
builtin Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and 2015-05-21 20:15:40 +03:00
extension Merge #27782 fix from 3.5 2016-08-21 17:43:58 +10:00
frozen Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
import_ Issue #15767: Use ModuleNotFoundError. 2016-09-07 16:56:15 -07:00
namespace_pkgs Issue #21097: Move test_namespace_pkgs into test_importlib. 2014-03-29 15:57:44 -06:00
source Merge for #27083 2016-07-16 10:45:16 -07:00
__init__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
__main__.py Issue #22002: Make full use of test discovery in test sub-packages. 2014-07-23 12:00:29 -05:00
abc.py Remove unused imports. 2016-12-16 20:00:15 +02:00
test_abc.py bpo-30158: Fix deprecation warnings in test_importlib introduced by bpo-29576. (#1285) 2017-04-29 07:06:49 +03:00
test_api.py bpo-29851: Have importlib.reload() raise ImportError if the module's spec is not found (GH-972) 2017-05-24 15:19:50 -07:00
test_lazy.py Issue #26186: Remove the restriction that built-in and extension 2016-06-25 10:58:17 -07:00
test_locks.py Issue #26940: Fix test_importlib that hangs on the Android armv7 qemu emulator. 2016-12-08 11:26:18 +01:00
test_namespace_pkgs.py Fixes #19711: Add tests for reloading namespace packages. 2016-05-10 15:29:05 -06:00
test_spec.py Issue #26667: Add path-like object support to importlib.util. 2016-09-07 18:39:18 -07:00
test_util.py bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899) 2017-06-14 14:34:50 -07:00
test_windows.py Issue #25985: sys.version_info is now used instead of sys.version 2016-02-11 13:10:36 +02:00
util.py Merge for #27083 2016-07-16 10:45:16 -07:00