Skip to content

Commit c7a69c0

Browse files
committed
TST: set proper filter warnings for python2
1 parent a4f3e9e commit c7a69c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_cbook.py

+1
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ def dummy(self):
313313
def _kwarg_norm_helper(inp, expected, kwargs_to_norm, warn_count=0):
314314

315315
with warnings.catch_warnings(record=True) as w:
316+
warnings.simplefilter("always")
316317
assert expected == cbook.normalize_kwargs(inp, **kwargs_to_norm)
317318
assert len(w) == warn_count
318319

0 commit comments

Comments
 (0)