ignore warning from pytest due to change in Python 3.12 alpha

This commit is contained in:
David Lord 2023-04-11 15:34:39 -07:00
parent e39d78a0ad
commit 67c4c7bac2
No known key found for this signature in database
GPG Key ID: 7A1C87E3F5BC42A8
1 changed files with 5 additions and 1 deletions

View File

@ -53,7 +53,11 @@ version = {attr = "flask.__version__"}
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["error"]
filterwarnings = [
"error",
# change in Python 3.12 alpha causes warning from inside pytest
"ignore:onerror argument:DeprecationWarning",
]
[tool.coverage.run]
branch = true