Skip to content

Commit 2678a5e

Browse files
committed
Limit filter to DeprecationWarnings
1 parent 7c74b50 commit 2678a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@contextlib.contextmanager
2222
def suppress_known_deprecation():
2323
with warnings.catch_warnings(record=True) as ctx:
24-
warnings.simplefilter('default')
24+
warnings.simplefilter('default', category=DeprecationWarning)
2525
yield ctx
2626

2727

0 commit comments

Comments
 (0)