gh-93963: Remove usage of deprecated interface from importlib.abc. (#95217)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
Jason R. Coombs 2022-07-27 04:54:31 -04:00 committed by GitHub
parent 8c88e360e7
commit 78eb3f79ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import typing
import unittest import unittest
from importlib import resources from importlib import resources
from importlib.abc import Traversable from importlib.resources.abc import Traversable
from . import data01 from . import data01
from . import util from . import util

View file

@ -7,7 +7,7 @@ from pathlib import Path, PurePath
from . import data01 from . import data01
from . import zipdata01 from . import zipdata01
from importlib.abc import ResourceReader from importlib.resources.abc import ResourceReader
from test.support import import_helper from test.support import import_helper

View file

@ -0,0 +1 @@
Updated tests to use preferred location for ``importlib.resources`` ABCs.