cpython/Lib/test/test_importlib
Jason R. Coombs dfdca85dfa
bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758)
* bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` object referencing the `Distribution` when constructed from a `Distribution`.

Also, sync importlib_metadata 3.3:

- Add support for package discovery under package normalization rules.
- The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method.

* Add blurb

* Remove latent footnote.
2020-12-31 12:56:43 -05:00
..
builtin bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
data cross port importlib-metadata PR #76 (#13903) 2019-06-07 14:23:38 -07:00
data01
data02
data03
extension bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
frozen bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
import_ bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
namespace_pkgs
source bpo-40275: Fix failed test cases by using test helpers (GH-21811) 2020-08-10 23:24:02 +02:00
zipdata01 bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
zipdata02 bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
__init__.py
__main__.py
abc.py
fixtures.py bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758) 2020-12-31 12:56:43 -05:00
stubs.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
test_abc.py bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
test_api.py bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
test_files.py bpo-39791: Add files() to importlib.resources (GH-19722) 2020-05-08 19:20:26 -04:00
test_lazy.py bpo-36766: Typos in docs and code comments (GH-13116) 2019-05-06 14:57:17 -04:00
test_locks.py bpo-40275: Adding threading_helper submodule in test.support (GH-20263) 2020-05-28 00:10:27 +02:00
test_main.py bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758) 2020-12-31 12:56:43 -05:00
test_metadata_api.py bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758) 2020-12-31 12:56:43 -05:00
test_namespace_pkgs.py
test_open.py
test_path.py bpo-40924: Ensure importlib.resources.path returns an extant path (GH-20857) 2020-06-29 22:59:22 +02:00
test_pkg_import.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00
test_read.py
test_resource.py bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915) 2020-10-25 14:21:46 -04:00
test_spec.py bpo-26131: Deprecate usage of load_module() (GH-23469) 2020-12-04 15:39:21 -08:00
test_threaded_import.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00
test_util.py bpo-37830: Fix compilation of break and continue in finally. (GH-15320) 2019-08-24 13:11:52 +03:00
test_windows.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00
test_zip.py bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758) 2020-12-31 12:56:43 -05:00
threaded_import_hangers.py bpo-19696: Move threaded_import_hangers (GH-14655) 2019-07-12 14:22:05 -07:00
util.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00