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:
Nikita Sobolev 2022-10-07 03:57:10 +03:00 committed by GitHub
parent 4875433682
commit 27025e158c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 373 deletions

View file

@ -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.