Skip to content

Commit

Permalink
Limit filter to DeprecationWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 31, 2021
1 parent 7c74b50 commit 2678a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api.py
Expand Up @@ -21,7 +21,7 @@
@contextlib.contextmanager
def suppress_known_deprecation():
with warnings.catch_warnings(record=True) as ctx:
warnings.simplefilter('default')
warnings.simplefilter('default', category=DeprecationWarning)
yield ctx


Expand Down

0 comments on commit 2678a5e

Please sign in to comment.