Skip to content

Commit 8c58da1

Browse files
chore(python-deps): update dependency pytest to v9 for tests (#737)
* chore(python-deps): update dependency pytest to v9 for tests * chore: refactor pytest configuration --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nicholas Felt <[email protected]>
1 parent 7fc0b98 commit 8c58da1

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pyproject.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ tomli = "2.3.0"
7777
[tool.poetry.group.tests.dependencies]
7878
coverage = "^7.5.0"
7979
linkchecker = "^10.0.0"
80-
pytest = "^8.2.0"
80+
pytest = "^9.0.0"
8181
pytest-cov = "^7.0.0"
8282
pytest-depends = "^1.0.1"
8383
pytest-env = "^1.1.3"
@@ -182,8 +182,10 @@ strict = ["**"]
182182
typeCheckingMode = "strict"
183183
useLibraryCodeForTypes = true
184184

185-
[tool.pytest.ini_options]
186-
addopts = "--cov-config=pyproject.toml"
185+
[tool.pytest]
186+
addopts = [
187+
"--cov-config=pyproject.toml"
188+
]
187189
filterwarnings = [
188190
]
189191
junit_family = "xunit2"
@@ -193,8 +195,10 @@ markers = [
193195
'order',
194196
'slow'
195197
]
196-
pythonpath = "."
197-
xfail_strict = true
198+
pythonpath = [
199+
"."
200+
]
201+
strict = true
198202

199203
[tool.pytest_env]
200204
pytest_report_title = {skip_if_set = true, value = "Test Results"}

0 commit comments

Comments
 (0)