Skip to content

Commit 6301d81

Browse files
committed
Allow pytestmain factor to fail, since pytest introduced an incompatible change
1 parent d4a8eff commit 6301d81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ envlist = py{3.9,3.10,3.11,3.12,3.13}-pytest{7.3,7.4,8.0,8.1,8.2,8.3,latest,main
77
[testenv]
88
parallel_show_output = true
99
commands = coverage run -m pytest {posargs:tests}
10+
ignore_outcome =
11+
pytestmain: True
1012
deps =
1113
pytestlatest: pytest
1214
pytestmain: git+https://github.com/pytest-dev/pytest.git@main
@@ -22,6 +24,7 @@ deps =
2224

2325
coverage[toml]
2426

27+
2528
[testenv:mypy]
2629
allowlist_externals = mypy
2730
commands = mypy {posargs:.}

0 commit comments

Comments
 (0)