diff --git a/pyproject.toml b/pyproject.toml index 15d368152..9296c8e47 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,5 +122,5 @@ filterwarnings = [ "ignore:ast.Str is deprecated and will be removed in Python 3.14:DeprecationWarning", "ignore:Attribute s is deprecated and will be removed in Python 3.14:DeprecationWarning", "ignore:ast.NameConstant is deprecated and will be removed in Python 3.14:DeprecationWarning", - "ignore:second derivatives with respect to positions are not implemented and will not*:UserWarning", + "ignore:second derivatives with respect to*:UserWarning", ] diff --git a/tests/utils/test_logging.py b/tests/utils/test_logging.py index 0c04d7f0c..8c348f1bc 100644 --- a/tests/utils/test_logging.py +++ b/tests/utils/test_logging.py @@ -21,7 +21,6 @@ def assert_log_entry(logtext: str, loglevel: str, message: str) -> None: raise AssertionError(f"{message!r} and {loglevel!r} not found in {logtext!r}") -@pytest.mark.filterwarnings("ignore:A warning") def test_warnings_in_log(): """Test that warnings are forwarded to the logger.