Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/populate_tox/tox.jinja
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ commands =
; Running `pytest` as an executable suffers from an import error
; when loading tests in scenarios. In particular, django fails to
; load the settings from the test module.
python -m pytest {env:TESTPATH} -o junit_suite_name={envname} {posargs}
python -m pytest -W error::pytest.PytestUnraisableExceptionWarning {env:TESTPATH} -o junit_suite_name={envname} {posargs}

[testenv:linters]
commands =
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# The file (and all resulting CI YAMLs) then need to be regenerated via
# "scripts/generate-test-files.sh".
#
# Last generated: 2025-09-02T10:59:55.249513+00:00
# Last generated: 2025-09-02T12:34:09.591543+00:00

[tox]
requires =
Expand Down Expand Up @@ -909,7 +909,7 @@ commands =
; Running `pytest` as an executable suffers from an import error
; when loading tests in scenarios. In particular, django fails to
; load the settings from the test module.
python -m pytest {env:TESTPATH} -o junit_suite_name={envname} {posargs}
python -m pytest -W error::pytest.PytestUnraisableExceptionWarning {env:TESTPATH} -o junit_suite_name={envname} {posargs}

[testenv:linters]
commands =
Expand Down