Skip to content

Environment variables containing strings with spaces are not accepted any longer for passenv/pass_env. #2699

Answered by mgedmin
Marc2508 asked this question in Q&A
Discussion options

You must be logged in to vote

This seems like weird syntax. If you want PYTEST_ARGS to be passed to the commands executed by tox, you would put

pasenv = PYTEST_ARGS

in the tox.ini. Why are you using {env:PYTEST_ARGS}? {env:...} is for including the value of the environment variable into tox configuration.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by gaborbernat
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@gaborbernat
Comment options

@mkoeppe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2696 on December 13, 2022 15:38.