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
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
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
test_lazy.py
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
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
util.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00