Skip to content

Commit 19e1117

Browse files
authored
Fix tox 4 error while keeping tox3 compatibility
py37: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'USER USERNAME TRAVIS PYTEST_ADDOPTS'
1 parent 3b1dd4d commit 19e1117

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tox.ini

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
envlist = py37,py38,py39,py310,py311
33

44
[testenv]
5-
passenv = USER USERNAME TRAVIS PYTEST_ADDOPTS
5+
passenv =
6+
USER
7+
USERNAME
8+
TRAVIS
9+
PYTEST_ADDOPTS
610
deps =
711
pytest-xdist>=1.28
812

0 commit comments

Comments
 (0)