summaryrefslogtreecommitdiff
path: root/Lib/test/test_importlib/test_open.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-07-29 21:05:05 -0400
committerGitHub <noreply@github.com>2021-07-29 21:05:05 -0400
commitaaa83cdfab6817446285e631232f64b394ac6791 (patch)
treed41195f1412a533b1c7333b99adcc77f171329a1 /Lib/test/test_importlib/test_open.py
parent851cca8c22795a2f143ad5ebc10adab3c7784ad0 (diff)
downloadcpython-git-aaa83cdfab6817446285e631232f64b394ac6791.tar.gz
bpo-44771: Apply changes from importlib_resources 5.2.1 (GH-27436)
* bpo-44771: Apply changes from importlib_resources@3b24bd6307 * Add blurb * Exclude namespacedata01 from eol conversion.
Diffstat (limited to 'Lib/test/test_importlib/test_open.py')
-rw-r--r--Lib/test/test_importlib/test_open.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_importlib/test_open.py b/Lib/test/test_importlib/test_open.py
index b75675f43b..6f88ff78b7 100644
--- a/Lib/test/test_importlib/test_open.py
+++ b/Lib/test/test_importlib/test_open.py
@@ -2,16 +2,16 @@ import unittest
from importlib import resources
from . import data01
-from . import util
+from .resources import util
-class CommonBinaryTests(util.CommonResourceTests, unittest.TestCase):
+class CommonBinaryTests(util.CommonTests, unittest.TestCase):
def execute(self, package, path):
with resources.open_binary(package, path):
pass
-class CommonTextTests(util.CommonResourceTests, unittest.TestCase):
+class CommonTextTests(util.CommonTests, unittest.TestCase):
def execute(self, package, path):
with resources.open_text(package, path):
pass