summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/util.py')
-rw-r--r--Lib/test/test_importlib/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_importlib/util.py b/Lib/test/test_importlib/util.py
index bfb7cad..7b07b04 100644
--- a/Lib/test/test_importlib/util.py
+++ b/Lib/test/test_importlib/util.py
@@ -397,6 +397,9 @@ class CASEOKTestBase:
def create_package(file, path, is_package=True, contents=()):
class Reader(ResourceReader):
+ def get_resource_reader(self, package):
+ return self
+
def open_resource(self, path):
self._path = path
if isinstance(file, Exception):