Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit157b89e

Browse files
authored
gh-108696: revert bypassing import cache in test_import helper (#108698)
1 parentd52c448 commit157b89e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎Lib/test/test_import/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import_testinternalcapi
2626
import_imp
2727

28-
fromtest.supportimportimport_helper
2928
fromtest.supportimportos_helper
3029
fromtest.supportimport (
3130
STDLIB_DIR,swap_attr,swap_item,cpython_only,is_emscripten,
@@ -59,7 +58,7 @@
5958

6059
def_require_loader(module,loader,skip):
6160
ifisinstance(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)

[8]ページ先頭

©2009-2025 Movatter.jp