cpython/Lib/test/test_importlib
Barry Warsaw a71397fb66
[3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504)
* Make sure ``__spec__.loader`` matches ``__loader__`` for namespace packages.
* Make sure ``__spec__.origin` matches ``__file__`` for namespace packages.

https://bugs.python.org/issue32303
https://bugs.python.org/issue32305.
(cherry picked from commit bbbcf8693b)

Co-authored-by: Barry Warsaw <barry@python.org>
2018-02-02 23:21:14 -05:00
..
builtin [3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864) 2017-12-14 16:19:51 +02: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_ [3.6] bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (GH-4118) (#4128) 2017-10-26 12:02:54 +03:00
namespace_pkgs
source Merge for #27083 2016-07-16 10:45:16 -07:00
__init__.py
__main__.py
abc.py
test_abc.py Issue #21099: Switch applicable importlib tests to use PEP 451 API. 2016-05-10 16:21:03 -06:00
test_api.py [3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504) 2018-02-02 23:21:14 -05: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 [3.6] bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5504) 2018-02-02 23:21:14 -05: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 [3.6] bpo-29514: Check magic number for bugfix releases (#2157) 2017-06-13 20:32:46 +10: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