Commit 556054ec authored by Brett Cannon's avatar Brett Cannon

Use the public API, not a private one.

parent 7d8a6861
......@@ -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")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment