diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 8115020..1308914 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -477,7 +477,7 @@ class CleanImport(object): Use like this: with CleanImport("foo"): - __import__("foo") # new reference + importlib.import_module("foo") # new reference """ def __init__(self, *module_names): |