diff --git a/tests/test_deprecated.py b/tests/test_deprecated.py index bc3ba6c5..a4d74759 100644 --- a/tests/test_deprecated.py +++ b/tests/test_deprecated.py @@ -8,7 +8,9 @@ def test_deprecated_func(): def func(x): pass - with pytest.warns(np.exceptions.VisibleDeprecationWarning, match="func is deprecated: bla"): + with pytest.warns( + np.exceptions.VisibleDeprecationWarning, match="func is deprecated: bla" + ): func(1)