Skip to content

Commit 61020d6

Browse files
committed
Stop trying to use pytest-xdist when using pytest-cov
It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor. It appears to calculate the code coverage incorrectly when using pytest-xdist.
1 parent 780f87f commit 61020d6

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tox.ini

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ deps =
1212
pyperclip
1313
pytest
1414
pytest-cov
15-
pytest-xdist
1615
six
1716
commands =
18-
py.test -v -n2 --cov=cmd2 --basetemp={envtmpdir} {posargs}
19-
{envpython} examples/example.py --test examples/exampleSession.txt
17+
py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
2018
codecov
2119

2220
[testenv:py33]
@@ -57,11 +55,9 @@ deps =
5755
pyperclip
5856
pytest
5957
pytest-cov
60-
pytest-xdist
6158
six
6259
commands =
63-
py.test -v -n2 --cov=cmd2 --basetemp={envtmpdir} {posargs}
64-
{envpython} examples/example.py --test examples/exampleSession.txt
60+
py.test -v --cov=cmd2 --basetemp={envtmpdir} {posargs}
6561
codecov
6662

6763
[testenv:py37]

0 commit comments

Comments
 (0)