diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-08-30 18:40:23 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-08-30 18:40:23 (GMT) |
commit | a6503606f9fcd0160d9cba828b9ff98e1a7b5163 (patch) | |
tree | 8c6e2d0c32ac39884baae66a3029986bd2cefa65 /Lib/importlib/test/import_ | |
parent | 9e0e1a63c840b4d0fdf4d088ad4da2db7918f8a0 (diff) | |
download | cpython-a6503606f9fcd0160d9cba828b9ff98e1a7b5163.zip cpython-a6503606f9fcd0160d9cba828b9ff98e1a7b5163.tar.gz cpython-a6503606f9fcd0160d9cba828b9ff98e1a7b5163.tar.bz2 |
Use the public API, not a private one.
Diffstat (limited to 'Lib/importlib/test/import_')
-rw-r--r-- | Lib/importlib/test/import_/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/import_/util.py b/Lib/importlib/test/import_/util.py index 214bc9e..6b0e9d1 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") |