diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2021-12-19 02:28:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-19 02:28:49 (GMT) |
commit | 9b52920173735ac609664c6a3a3021d24a95a092 (patch) | |
tree | ffc7dc7dc01cddc6973bd9cf9e4cb649258365d1 /Lib/importlib/resources.py | |
parent | fe68486197cb26a69ecce9353271d91adf885cb5 (diff) | |
download | cpython-9b52920173735ac609664c6a3a3021d24a95a092.zip cpython-9b52920173735ac609664c6a3a3021d24a95a092.tar.gz cpython-9b52920173735ac609664c6a3a3021d24a95a092.tar.bz2 |
bpo-46125: Refactor tests to test traversable API directly. Includes changes from importlib_resources 5.4.0. (GH-30189)
Diffstat (limited to 'Lib/importlib/resources.py')
-rw-r--r-- | Lib/importlib/resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/resources.py b/Lib/importlib/resources.py index 6cc4628..5b3bc02 100644 --- a/Lib/importlib/resources.py +++ b/Lib/importlib/resources.py @@ -4,7 +4,6 @@ from ._common import ( as_file, files, Package, - Resource, ) from ._legacy import ( @@ -15,6 +14,7 @@ from ._legacy import ( read_text, is_resource, path, + Resource, ) from importlib.abc import ResourceReader |