FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-103247: bypass the import cache on the _require_loader helper by FFY00 · Pull Request #104186 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 2 additions & 1 deletion Lib/test/test_import/__init__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
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 @@ -58,7 +59,7 @@

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

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

Back | FazBrowse Home | New Git URL