Skip to content

Commit 3771c1b

Browse files
committed
tox: remove changedir with testenv
This is confusing in general (and does not allow to copy'n'paste paths), and it will be easier to integrate a coverage factor after this.
1 parent a7847ed commit 3771c1b

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
@@ -3,10 +3,9 @@
33
envlist=py{27,34,35,36}-pytest{29,30,31},py37-pytest{30,31}
44

55
[testenv]
6-
changedir=testing
76
commands=
8-
pip install -U .. # hande the install order fallout since pytest depends on pip
9-
py.test --confcutdir=.. --junitxml={envlogdir}/junit-{envname}.xml []
7+
pip install -U . # hande the install order fallout since pytest depends on pip
8+
py.test --confcutdir=. --junitxml={envlogdir}/junit-{envname}.xml []
109
deps=
1110
attrs
1211
pytest29: pytest~=2.9.0
@@ -32,6 +31,7 @@ commands=
3231
[pytest]
3332
rsyncdirs = conftest.py py doc testing
3433
addopts = -ra
34+
testpaths = testing
3535

3636
[coverage:run]
3737
branch = 1

0 commit comments

Comments
 (0)