mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #15627: This is simply an update to the name of a new method recently added
to importlib.abc.SourceLoader.
This commit is contained in:
parent
fe907e1870
commit
a6cfb28bd2
5 changed files with 14 additions and 14 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue