Skip to content

Commit c6c326f

Browse files
authored
Merge pull request #4137 from blueyed/toxini
tox.ini: pexpect: use posargs; cleanup posargs
2 parents d6832a8 + 4a49715 commit c6c326f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

tox.ini

Lines changed: 9 additions & 9 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 -ra {posargs:testing}
21+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof
2222
coverage: coverage combine
2323
coverage: coverage report
2424
passenv = USER USERNAME
@@ -43,7 +43,7 @@ deps =
4343
nose
4444
passenv = USER USERNAME TRAVIS
4545
commands =
46-
pytest -n auto -ra --runpytest=subprocess {posargs:testing}
46+
pytest -n auto --runpytest=subprocess
4747

4848

4949
[testenv:linting]
@@ -61,7 +61,7 @@ deps =
6161
{env:_PYTEST_TOX_EXTRA_DEP:}
6262
passenv = USER USERNAME TRAVIS
6363
commands =
64-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto -ra {posargs:testing}
64+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto
6565

6666
[testenv:py36-xdist]
6767
# NOTE: copied from above due to https://github.com/tox-dev/tox/issues/706.
@@ -80,7 +80,7 @@ deps =
8080
pexpect
8181
{env:_PYTEST_TOX_EXTRA_DEP:}
8282
commands =
83-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -ra test_pdb.py test_terminal.py test_unittest.py
83+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest test_pdb.py test_terminal.py test_unittest.py {posargs}
8484

8585
[testenv:py36-pexpect]
8686
changedir = {[testenv:py27-pexpect]changedir}
@@ -101,14 +101,14 @@ setenv =
101101
PYTHONDONTWRITEBYTECODE=1
102102
passenv = USER USERNAME TRAVIS
103103
commands =
104-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto -ra {posargs:.}
104+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -n auto {posargs:.}
105105

106106
[testenv:py27-trial]
107107
deps =
108108
twisted
109109
{env:_PYTEST_TOX_EXTRA_DEP:}
110110
commands =
111-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -ra {posargs:testing/test_unittest.py}
111+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest {posargs:testing/test_unittest.py}
112112

113113
[testenv:py36-trial]
114114
deps = {[testenv:py27-trial]deps}
@@ -119,7 +119,7 @@ deps =
119119
numpy
120120
{env:_PYTEST_TOX_EXTRA_DEP:}
121121
commands=
122-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -ra {posargs:testing/python/approx.py}
122+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest {posargs:testing/python/approx.py}
123123

124124
[testenv:py36-numpy]
125125
deps = {[testenv:py27-numpy]deps}
@@ -154,7 +154,7 @@ deps =
154154
PyYAML
155155
{env:_PYTEST_TOX_EXTRA_DEP:}
156156
commands =
157-
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest -ra doc/en
157+
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest doc/en
158158
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --doctest-modules --pyargs _pytest
159159

160160
[testenv:regen]
@@ -175,7 +175,7 @@ commands =
175175
[testenv:jython]
176176
changedir = testing
177177
commands =
178-
{envpython} {envbindir}/py.test-jython -ra {posargs}
178+
{envpython} {envbindir}/py.test-jython {posargs}
179179

180180
[testenv:py36-freeze]
181181
changedir = testing/freeze

0 commit comments

Comments
 (0)