mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
gh-97850: Remove deprecated functions from importlib.utils
(#97898)
* gh-97850: Remove deprecated functions from `importlib.utils` * Rebase and remove `set_package` from diff
This commit is contained in:
parent
4875433682
commit
27025e158c
6 changed files with 4 additions and 373 deletions
|
@ -771,13 +771,7 @@ class SourceLoaderTestHarness:
|
|||
|
||||
|
||||
class SourceOnlyLoaderTests(SourceLoaderTestHarness):
|
||||
|
||||
"""Test importlib.abc.SourceLoader for source-only loading.
|
||||
|
||||
Reload testing is subsumed by the tests for
|
||||
importlib.util.module_for_loader.
|
||||
|
||||
"""
|
||||
"""Test importlib.abc.SourceLoader for source-only loading."""
|
||||
|
||||
def test_get_source(self):
|
||||
# Verify the source code is returned as a string.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue