We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the posargs, the path in the argument is changed with no reason. Why ?
tox.ini
[tox] envlist=py27,py36 skipsdist=True [testenv] deps = pytest commands=pytest -s tests {posargs}
The text was updated successfully, but these errors were encountered:
hmmm wow yeah there appears to be something seriously wrong here.
Here's another fun one:
[tox] skipsdist = True [testenv] changedir=../ commands = python -c 'import sys; print(sys.argv[1:])' {posargs}
$ tox -e py36 -- $PWD/tox.ini py36 runtests: PYTHONHASHSEED='659093790' py36 runtests: commands[0] | python -c 'import sys; print(sys.argv[1:])' x/tox.ini ['x/tox.ini'] ___________________________________ summary ____________________________________ py36: commands succeeded congratulations :)
it appears to be attempting to normalize paths to account for changedir -- but doing so incorrectly.
changedir
Thanks for the report! 🎉
Sorry, something went wrong.
There's this relevant bit from the docs indicating the adjustment is intentional, at least for relative paths:
tox rewrites each positional argument if it is a relative path and exists on the filesystem to become a path relative to the changedir setting.
tox
No branches or pull requests
When using the posargs, the path in the argument is changed with no reason. Why ?
tox.ini
The text was updated successfully, but these errors were encountered: