Skip to content

Commit

Permalink
pythongh-108696: revert bypassing import cache in test_import helper (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Aug 31, 2023
1 parent d52c448 commit 157b89e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/test/test_import/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import _testinternalcapi
import _imp

from test.support import import_helper
from test.support import os_helper
from test.support import (
STDLIB_DIR, swap_attr, swap_item, cpython_only, is_emscripten,
Expand Down Expand Up @@ -59,7 +58,7 @@

def _require_loader(module, loader, skip):
if isinstance(module, str):
module = import_helper.import_fresh_module(module)
module = __import__(module)

MODULE_KINDS = {
BuiltinImporter: 'built-in',
Expand Down

0 comments on commit 157b89e

Please sign in to comment.