Skip to content

Commit 1eb9de2

Browse files
thesamesamarthurzam
authored andcommitted
tox: add {posargs} to pytest invocation
This lets us do e.g.: ``` $ tox -e py39 -- src/pkgcheck/checks/git.py # run just one test ``` Signed-off-by: Sam James <sam@gentoo.org> Closes: #556 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent e8d16ec commit 1eb9de2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ download = true
99
extras =
1010
test
1111
commands =
12-
pytest
12+
pytest {posargs}
1313

1414
# build docs
1515
[testenv:docs]

0 commit comments

Comments
 (0)