diff options
author | Brett Cannon <brett@python.org> | 2021-04-02 12:35:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-02 12:35:32 -0700 |
commit | f97dc800689ba98783dac8dc51f87f7c6f413ac6 (patch) | |
tree | e51ae8f2bf8b3f5434ab4d8b37cd0eef87b62c4e /Lib/test/test_importlib/test_path.py | |
parent | ad442a674ca443feec43a88a2d3671784712e550 (diff) | |
download | cpython-git-f97dc800689ba98783dac8dc51f87f7c6f413ac6.tar.gz |
bpo-43672: raise ImportWarning when calling find_loader() (GH-25119)
Diffstat (limited to 'Lib/test/test_importlib/test_path.py')
-rw-r--r-- | Lib/test/test_importlib/test_path.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/test/test_importlib/test_path.py b/Lib/test/test_importlib/test_path.py index 2110770e2a..d6ed09a9e0 100644 --- a/Lib/test/test_importlib/test_path.py +++ b/Lib/test/test_importlib/test_path.py @@ -29,11 +29,9 @@ class PathDiskTests(PathTests, unittest.TestCase): data = data01 def test_natural_path(self): - """ - Guarantee the internal implementation detail that - file-system-backed resources do not get the tempdir - treatment. - """ + # Guarantee the internal implementation detail that + # file-system-backed resources do not get the tempdir + # treatment. with resources.path(self.data, 'utf-8.file') as path: assert 'data' in str(path) |