From d614d6bf8c7b6db6f817648836f9044b13dc42b4 Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 6 Jun 2023 09:30:34 -0700 Subject: [PATCH] ignore pytest ast warnings --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]