Skip to content

Commit 864d7fe

Browse files
committed
Add back some {posargs} placeholders for pytest invocations in tox.ini
Those were removed by accident in a previous commits it seems
1 parent 1803521 commit 864d7fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ envlist =
1818

1919
[testenv]
2020
commands =
21-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof
21+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof {posargs}
2222
coverage: coverage combine
2323
coverage: coverage report
2424
passenv = USER USERNAME COVERAGE_* TRAVIS
@@ -41,7 +41,7 @@ deps =
4141
py27: mock
4242
nose
4343
commands =
44-
pytest -n auto --runpytest=subprocess
44+
pytest -n auto --runpytest=subprocess {posargs}
4545

4646

4747
[testenv:linting]
@@ -58,7 +58,7 @@ deps =
5858
hypothesis>=3.56
5959
{env:_PYTEST_TOX_EXTRA_DEP:}
6060
commands =
61-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto
61+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {posargs}
6262

6363
[testenv:py36-xdist]
6464
# NOTE: copied from above due to https://github.com/tox-dev/tox/issues/706.

0 commit comments

Comments
 (0)