8000 gh-108696: revert bypassing import cache in test_import helper by carljm · Pull Request #108698 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-108696: revert bypassing import cache in test_import helper #108698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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