diff --git a/pyproject.toml b/pyproject.toml index 1fae1bcb..c0c7133f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,8 +54,8 @@ version = {attr = "flask.__version__"} testpaths = ["tests"] filterwarnings = [ "error", - # change in Python 3.12 alpha causes warning from inside pytest - "ignore:onerror argument:DeprecationWarning", + # change in Python 3.12 causes warning from inside pytest + "ignore:ast:DeprecationWarning", ] [tool.coverage.run]