Use the public API, not a private one.

This commit is contained in:
Brett Cannon 2009-08-30 18:40:23 +00:00
parent 9e0e1a63c8
commit a6503606f9
1 changed files with 1 additions and 1 deletions

View File

@ -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")