cpython/Lib/test/test_importlib
Jason R. Coombs df8d4c83a6
bpo-41490: `path and contents` to aggressively close handles (#22915)
* bpo-41490: ``path`` method to aggressively close handles

* Add blurb

* In ZipReader.contents, eagerly evaluate the contents to release references to the zipfile.

* Instead use _ensure_sequence to ensure any iterable from a reader is eagerly converted to a list if it's not already a sequence.
2020-10-25 14:21:46 -04:00
..
builtin bpo-32297: Few misspellings found in Python source code comments. (#4803) 2017-12-14 13:04:53 +02:00
data cross port importlib-metadata PR #76 (#13903) 2019-06-07 14:23:38 -07:00
data01 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
data02 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
data03 bpo-32248 - Implement importlib.resources (#4911) 2017-12-30 15:18:06 -05:00
extension bpo-40275: Fix failed test cases by using test helpers (GH-21811) 2020-08-10 23:24:02 +02:00
frozen Issue #23277: Remove unused sys and os imports 2016-04-24 07:31:42 +03:00
import_ bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02: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 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
fixtures.py bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775) 2020-10-19 14:14:21 -07:00
stubs.py bpo-39595: Improve zipfile.Path performance (#18406) 2020-02-11 21:58:47 -05:00
test_abc.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00
test_api.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02: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-42089: Sync with current cpython branch of importlib_metadata (GH-22775) 2020-10-19 14:14:21 -07:00
test_metadata_api.py bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840) 2019-09-10 14:53:31 +01:00
test_namespace_pkgs.py bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690) 2019-03-08 10:58:00 -08:00
test_open.py bpo-32248: Fix test_importlib.test_open() (#5213) 2018-01-17 15:21:50 +01:00
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 bpo-33151: Handle submodule resources (GH-6268) 2018-03-27 09:59:38 -07:00
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-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02: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-39791: Refresh importlib.metadata from importlib_metadata 1.6.1. (GH-20659) 2020-06-05 16:34:16 -04: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