Skip to content

Commit d6548de

Browse files
committed
pythongh-108696: revert bypassing import cache in test_import helper
1 parent f59c66e commit d6548de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_import/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import _testinternalcapi
2626
import _imp
2727

28-
from test.support import import_helper
2928
from test.support import os_helper
3029
from test.support import (
3130
STDLIB_DIR, swap_attr, swap_item, cpython_only, is_emscripten,
@@ -59,7 +58,7 @@
5958

6059
def _require_loader(module, loader, skip):
6160
if isinstance(module, str):
62-
module = import_helper.import_fresh_module(module)
61+
module = __import__(module)
6362

6463
MODULE_KINDS = {
6564
BuiltinImporter: 'built-in',

0 commit comments

Comments
 (0)