From: Brett Cannon Date: Sun, 30 Aug 2009 18:40:23 +0000 (+0000) Subject: Use the public API, not a private one. X-Git-Tag: v3.2a1~2649 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6503606f9fcd0160d9cba828b9ff98e1a7b5163;p=thirdparty%2FPython%2Fcpython.git Use the public API, not a private one. --- diff --git a/Lib/importlib/test/import_/util.py b/Lib/importlib/test/import_/util.py index 214bc9ee596e..6b0e9d104680 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")