From a6503606f9fcd0160d9cba828b9ff98e1a7b5163 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 30 Aug 2009 18:40:23 +0000 Subject: [PATCH] Use the public API, not a private one. --- Lib/importlib/test/import_/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/importlib/test/import_/util.py b/Lib/importlib/test/import_/util.py index 214bc9ee596..6b0e9d10468 100644 --- a/Lib/importlib/test/import_/util.py +++ b/Lib/importlib/test/import_/util.py @@ -12,7 +12,7 @@ def import_(*args, **kwargs): if using___import__: return __import__(*args, **kwargs) else: - return importlib._bootstrap.__import__(*args, **kwargs) + return importlib.__import__(*args, **kwargs) importlib_only = unittest.skipIf(using___import__, "importlib-specific test")