-
-
Notifications
You must be signed in to change notification settings - Fork 541
Closed
Description
Issue
Looks like there might be more undocumented behaviour going on in CliEnv. In one of my checkouts I am regularly getting the following failure:
_____________________________________________ test_ini_exhaustive_parallel_values ______________________________________________
tests/config/cli/test_cli_ini.py:127: in test_ini_exhaustive_parallel_values
assert vars(options.parsed) == {
E AssertionError: assert {'colored': '...tualenv', ...} == {'colored': '...tualenv', ...}
E Omitting 30 identical items, use -vv to show
E Differing items:
E {'env': CliEnv('py37, py36')} != {'env': CliEnv('py37,py36')}
E Use -v to get more diff
core_handlers = {'c': <function show_config at 0x7f141ee70220>, 'config': <function show_config at 0x7f141ee70220>, 'd': <function devenv at 0x7f141ee7b420>, 'de': <function depends at 0x7f141ee7b100>, ...}
options = Options(parsed=Parsed(colored='yes', verbose=5, quiet=1, exit_and_dump_after=0, config_file=None, work_dir=None, root_...e': <function legacy at 0x7f141ee700e0>}, log_handler=<ToxHandler <_io.FileIO name=6 mode='rb+' closefd=True> (DEBUG)>)
----------------------------------------------------- Captured stdout call -----------------------------------------------------
ROOT: 1125 D setup logging to DEBUG on pid 294190 [tox/report.py:221]
I can't seem to reproduce it in other checkouts on the same machine using the same version of Python. I do not know why.
Nor do I understand how we ended up with an environment name that apparently starts with a space: py36.
Metadata
Metadata
Assignees
Labels
No labels