summaryrefslogtreecommitdiff
path: root/Lib/test/test_importlib/test_resource.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-01-22 21:38:26 -0500
committerGitHub <noreply@github.com>2022-01-22 21:38:26 -0500
commitd888ff5381594641126065e78dc9210dae4436a4 (patch)
treee113f1ed59bfc905fd078ef92efbac7532929d38 /Lib/test/test_importlib/test_resource.py
parent353e3b2820bed38da16140276786eef9ba33d3bd (diff)
downloadcpython-git-d888ff5381594641126065e78dc9210dae4436a4.tar.gz
bpo-46425: Partially revert "bpo-46425: fix direct invocation of `test_importlib` (GH-30682)" (GH-30799)
This reverts commit 57316c52bae5d6420f5067f3891ec328deb97305 for files pertaining to importlib.metadata and importlib.resources.
Diffstat (limited to 'Lib/test/test_importlib/test_resource.py')
-rw-r--r--Lib/test/test_importlib/test_resource.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_importlib/test_resource.py b/Lib/test/test_importlib/test_resource.py
index 825d1b0eb0..834b8bd8a2 100644
--- a/Lib/test/test_importlib/test_resource.py
+++ b/Lib/test/test_importlib/test_resource.py
@@ -3,8 +3,9 @@ import unittest
import uuid
import pathlib
-from test.test_importlib import data01, zipdata01, zipdata02
-from test.test_importlib.resources import util
+from . import data01
+from . import zipdata01, zipdata02
+from .resources import util
from importlib import resources, import_module
from test.support import import_helper
from test.support.os_helper import unlink