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
data
data01
data02
data03
extension bpo-40275: Fix failed test cases by using test helpers (GH-21811) 2020-08-10 23:24:02 +02:00
frozen
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
__main__.py
abc.py
fixtures.py bpo-42089: Sync with current cpython branch of importlib_metadata (GH-22775) 2020-10-19 14:14:21 -07:00
stubs.py
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
test_lazy.py
test_locks.py
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
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-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
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
util.py bpo-40275: Use new test.support helper submodules in tests (GH-21727) 2020-08-04 17:53:12 +02:00