summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2012-12-05 07:43:43 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2012-12-05 07:43:43 (GMT)
commita6cfb28bd2611abefe08b11512e8378ddd2b8c57 (patch)
tree550c8cdf1d840a1d9dd4a14a711ee94d548a5f62 /Lib/test/test_importlib
parentfe907e18709e150c902afa08823b65ab4254614a (diff)
downloadcpython-a6cfb28bd2611abefe08b11512e8378ddd2b8c57.zip
cpython-a6cfb28bd2611abefe08b11512e8378ddd2b8c57.tar.gz
cpython-a6cfb28bd2611abefe08b11512e8378ddd2b8c57.tar.bz2
Issue #15627: This is simply an update to the name of a new method recently added
to importlib.abc.SourceLoader.
Diffstat (limited to 'Lib/test/test_importlib')
-rw-r--r--Lib/test/test_importlib/source/test_abc_loader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_importlib/source/test_abc_loader.py b/Lib/test/test_importlib/source/test_abc_loader.py
index 44bec32..cce7b07 100644
--- a/Lib/test/test_importlib/source/test_abc_loader.py
+++ b/Lib/test/test_importlib/source/test_abc_loader.py
@@ -148,9 +148,9 @@ class SourceOnlyLoaderTests(SourceLoaderTestHarness):
code_object = self.loader.get_code(self.name)
self.verify_code(code_object)
- def test_compile_source(self):
+ def test_source_to_code(self):
# Verify the compiled code object.
- code = self.loader.compile_source(self.loader.source, self.path)
+ code = self.loader.source_to_code(self.loader.source, self.path)
self.verify_code(code)
def test_load_module(self):