Skip to content

Commit 6c49e83

Browse files
committed
Remove 'suppress_known_deprecation' helper.
1 parent 9a4720a commit 6c49e83

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

importlib_resources/tests/util.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,6 @@ def create_package(file=None, path=None, is_package=True, contents=()):
6969
)
7070

7171

72-
@contextlib.contextmanager
73-
def suppress_known_deprecation():
74-
with warnings.catch_warnings(record=True) as ctx:
75-
warnings.simplefilter('default', category=DeprecationWarning)
76-
yield ctx
77-
78-
7972
class CommonTests(metaclass=abc.ABCMeta):
8073
"""
8174
Tests shared by test_open, test_path, and test_read.

0 commit comments

Comments
 (0)