summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_resource.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-46425: Partially revert "bpo-46425: fix direct invocation of ↵Jason R. Coombs2022-01-231-2/+3
| | | | | `test_importlib` (GH-30682)" (GH-30799) This reverts commit 57316c52bae5d6420f5067f3891ec328deb97305 for files pertaining to importlib.metadata and importlib.resources.
* bpo-46425: fix direct invocation of `test_importlib` (GH-30682)Nikita Sobolev2022-01-221-3/+2
|
* bpo-46125: Refactor tests to test traversable API directly. Includes changes ↵Jason R. Coombs2021-12-191-97/+68
| | | | from importlib_resources 5.4.0. (GH-30189)
* bpo-45514: Deprecate importlib resources legacy functions. (GH-29036)Jason R. Coombs2021-11-241-38/+65
| | | | | | | | | | | * bpo-45514: Apply changes from importlib_resources@a3ef4128c6 * Mark legacy functions as deprecated in the docs and link to the migration docs in importlib_resources docs. * Apply changes from importlib_resources@329ae9d5f2c. * Indicate importlib.resources as a module. Co-authored-by: Filipe Laíns <lains@riseup.net>
* bpo-44771: Apply changes from importlib_resources 5.2.1 (GH-27436)Jason R. Coombs2021-07-301-6/+6
| | | | | | | * bpo-44771: Apply changes from importlib_resources@3b24bd6307 * Add blurb * Exclude namespacedata01 from eol conversion.
* bpo-38693: Prefer f-strings in importlib.resources (importlib_resources ↵Jason R. Coombs2021-05-261-1/+1
| | | | | 5.0.6). (GH-26387) Automerge-Triggered-By: GH:jaraco
* bpo-42129: Add support for resources in namespaces (GH-24670)Jason R. Coombs2021-03-041-80/+89
| | | | | * Unify behavior in ResourceReaderDefaultsTests and align with the behavior found in importlib_resources. * Equip NamespaceLoader with a NamespaceReader. * Apply changes from importlib_resources 5.0.4
* bpo-41490: ``path`` and ``contents`` to aggressively close handles (#22915)Jason R. Coombs2020-10-251-0/+79
| | | | | | | | | * 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.
* bpo-33755: Fix importlib.resources isolation tests (#7412)Barry Warsaw2018-06-051-1/+5
|
* bpo-33254: do not return an empty list when asking for the contents of a ↵Brett Cannon2018-04-301-4/+3
| | | | namespace package (GH-6467)
* bpo-33151: Handle submodule resources (GH-6268)Barry Warsaw2018-03-271-1/+21
|
* Implement the get_resource_reader() API for file system imports (#5168)Barry Warsaw2018-01-151-1/+1
|
* bpo-32248 - Implement importlib.resources (#4911)Barry Warsaw2017-12-301-0/+143
Port importlib_resources to importlib.resources