Skip to content

Commit

Permalink
gh-93963: Remove usage of deprecated interface from importlib.abc. (#…
Browse files Browse the repository at this point in the history
…95217)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
  • Loading branch information
jaraco and ambv authored Jul 27, 2022
1 parent 8c88e36 commit 78eb3f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/test/test_importlib/resources/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import unittest

from importlib import resources
from importlib.abc import Traversable
from importlib.resources.abc import Traversable
from . import data01
from . import util

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_importlib/resources/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from . import data01
from . import zipdata01
from importlib.abc import ResourceReader
from importlib.resources.abc import ResourceReader
from test.support import import_helper


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated tests to use preferred location for ``importlib.resources`` ABCs.

0 comments on commit 78eb3f7

Please sign in to comment.