You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/hynek/.local/bin/tox", line 9, in <module>
load_entry_point('tox==1.8.0', 'console_scripts', 'tox')()
File "/Users/hynek/.local/venvs/tox/lib/python2.7/site-packages/tox/_cmdline.py", line 25, in main
config = parseconfig(args, 'tox')
File "/Users/hynek/.local/venvs/tox/lib/python2.7/site-packages/tox/_config.py", line 42, in parseconfig
parseini(config, inipath)
File "/Users/hynek/.local/venvs/tox/lib/python2.7/site-packages/tox/_config.py", line 296, in __init__
self._makeenvconfig(name, section, reader._subs, config)
File "/Users/hynek/.local/venvs/tox/lib/python2.7/site-packages/tox/_config.py", line 354, in _makeenvconfig
setenv.update(reader.getdict(section, 'setenv'))
File "/Users/hynek/.local/venvs/tox/lib/python2.7/site-packages/tox/_config.py", line 529, in getdict
name, rest = line.split('=', 1)
ValueError: need more than 1 value to unpack
while
[tox]envlist = py27-{a,b}
[testenv]setenv =
a: A = 1
b: B = 1
commands = true
But with conditional settings we land in this situation easier. Originally conditional syntax was only targetted at deps but it seems there is a need for other config options as well. cc @Suor
Consider this minimal tox.ini:
Running
tox -l
on it fails withwhile
and
work just fine.
The text was updated successfully, but these errors were encountered: