mirror of https://github.com/pallets/flask.git
ignore warning from pytest due to change in Python 3.12 alpha
This commit is contained in:
parent
e39d78a0ad
commit
67c4c7bac2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue