Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session.env_select.CliEnv: Document and test spaces behaviour #3208

Merged
merged 1 commit into from Jan 27, 2024

Conversation

0cjs
Copy link
Contributor

@0cjs 0cjs commented Jan 27, 2024

It turns out that spaces on either side of environment names in a comma-separated list are considered not part of the environment name and removed. This was neither documented nor tested directly; that's now fixed. (It was and is still also tested in config.cli.test_cli_ini.test_ini_exhaustive_parallel_values as well.)

The discovery of this was documented in issue #3207.

  • [✓] ran the linter to address style issues (tox -e fix)
  • [✓] wrote descriptive pull request text
  • [✓] ensured there are test(s) validating the fix
  • [n/a] added news fragment in docs/changelog folder
  • [✓] updated/extended the documentation

It turns out that spaces on either side of environment names in a
comma-separated list are considered not part of the environment
name and removed. This was neither documented nor tested
directly; that's now fixed. (It was and is still also tested in
`config.cli.test_cli_ini.test_ini_exhaustive_parallel_values` as
well.)

The discovery of this was documented in issue tox-dev#3207.
@gaborbernat gaborbernat merged commit 387834a into tox-dev:main Jan 27, 2024
24 of 25 checks passed
@0cjs 0cjs deleted the dev/cjs/24a28/clienv-spaces branch January 28, 2024 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants