@@ -13,7 +13,7 @@ envlist =
13
13
py38
14
14
pypy
15
15
pypy3
16
- {py27,py37}-{pexpect,xdist,trial ,numpy,pluggymaster}
16
+ {py27,py37}-{pexpect,xdist,twisted ,numpy,pluggymaster}
17
17
py27-nobyte-xdist
18
18
doctesting
19
19
py37-freeze
@@ -26,7 +26,7 @@ commands =
26
26
coverage: coverage report
27
27
passenv = USER USERNAME COVERAGE_* TRAVIS PYTEST_ADDOPTS
28
28
setenv =
29
- _PYTEST_TOX_DEFAULT_POSARGS ={env:_PYTEST_TOX_POSARGS_LSOF:} {env:_PYTEST_TOX_POSARGS_PEXPECT:} {env:_PYTEST_TOX_POSARGS_XDIST:}
29
+ _PYTEST_TOX_DEFAULT_POSARGS ={env:_PYTEST_TOX_POSARGS_LSOF:} {env:_PYTEST_TOX_POSARGS_PEXPECT:} {env:_PYTEST_TOX_POSARGS_TWISTED:} {env: _PYTEST_TOX_POSARGS_XDIST:}
30
30
31
31
# Configuration to run with coverage similar to Travis/Appveyor, e.g.
32
32
# "tox -e py37-coverage".
@@ -42,12 +42,16 @@ setenv =
42
42
pexpect: _PYTEST_TOX_PLATFORM =linux|darwin
43
43
pexpect: _PYTEST_TOX_POSARGS_PEXPECT =testing/test_pdb.py testing/test_terminal.py testing/test_unittest.py
44
44
45
+ twisted: _PYTEST_TOX_POSARGS_TWISTED =testing/test_unittest.py
46
+
45
47
xdist: _PYTEST_TOX_POSARGS_XDIST =-n auto
46
48
extras = testing
47
49
deps =
48
50
numpy: numpy
49
51
pexpect: pexpect
50
52
pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master
53
+ twisted: twisted
54
+ twisted: unittest2
51
55
xdist: pytest-xdist>=1.13
52
56
{env:_PYTEST_TOX_EXTRA_DEP:}
53
57
platform = {env:_PYTEST_TOX_PLATFORM:.*}
@@ -67,18 +71,6 @@ basepython = python3
67
71
deps = pre-commit>=1.11.0
68
72
commands = pre-commit run --all-files --show-diff-on-failure
69
73
70
- [testenv:py27-trial]
71
- deps =
72
- {[testenv]deps}
73
- twisted
74
- unittest2
75
- commands =
76
- {env:_PYTEST_TOX_COVERAGE_RUN:} pytest {posargs:testing/test_unittest.py}
77
-
78
- [testenv:py37-trial]
79
- deps = {[testenv:py27-trial]deps}
80
- commands = {[testenv:py27-trial]commands}
81
-
82
74
[testenv:docs]
83
75
basepython = python3
84
76
skipsdist = True
0 commit comments