summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-07-27 08:54:31 (GMT)
committerGitHub <noreply@github.com>2022-07-27 08:54:31 (GMT)
commit78eb3f79eae772f7a5cdbb2cc02c12b05bd88305 (patch)
tree5b7663b75b70cf7e4c2036a024813e999a27a05e /Lib/test/test_importlib
parent8c88e360e71c8fd456b261f5c5ccc2d8e4db63a0 (diff)
downloadcpython-78eb3f79eae772f7a5cdbb2cc02c12b05bd88305.zip
cpython-78eb3f79eae772f7a5cdbb2cc02c12b05bd88305.tar.gz
cpython-78eb3f79eae772f7a5cdbb2cc02c12b05bd88305.tar.bz2
gh-93963: Remove usage of deprecated interface from importlib.abc. (#95217)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/resources/test_files.py2
-rw-r--r--Lib/test/test_importlib/resources/util.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_importlib/resources/test_files.py b/Lib/test/test_importlib/resources/test_files.py
index 4665ed7..779e5a1 100644
--- a/Lib/test/test_importlib/resources/test_files.py
+++ b/Lib/test/test_importlib/resources/test_files.py
@@ -2,7 +2,7 @@ import typing
import unittest
from importlib import resources
-from importlib.abc import Traversable
+from importlib.resources.abc import Traversable
from . import data01
from . import util
diff --git a/Lib/test/test_importlib/resources/util.py b/Lib/test/test_importlib/resources/util.py
index f80c9cd..eb2291f 100644
--- a/Lib/test/test_importlib/resources/util.py
+++ b/Lib/test/test_importlib/resources/util.py
@@ -7,7 +7,7 @@ from pathlib import Path, PurePath
from . import data01
from . import zipdata01
-from importlib.abc import ResourceReader
+from importlib.resources.abc import ResourceReader
from test.support import import_helper