summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-08-30 18:40:23 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-08-30 18:40:23 (GMT)
commita6503606f9fcd0160d9cba828b9ff98e1a7b5163 (patch)
tree8c6e2d0c32ac39884baae66a3029986bd2cefa65
parent9e0e1a63c840b4d0fdf4d088ad4da2db7918f8a0 (diff)
downloadcpython-a6503606f9fcd0160d9cba828b9ff98e1a7b5163.zip
cpython-a6503606f9fcd0160d9cba828b9ff98e1a7b5163.tar.gz
cpython-a6503606f9fcd0160d9cba828b9ff98e1a7b5163.tar.bz2
Use the public API, not a private one.
-rw-r--r--Lib/importlib/test/import_/util.py2
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")