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
When submitting a bug make sure you can reproduce it via tox -rvv and attach the output of that to the bug. Ideally, you should also submit a project that allows easily reproducing the bug. Thanks!
This is desirable to never reuse foo/bar, but to keep them around if the early commands fail. This is an SSCCE, but an equivalent real-world example can be made with pipenv/Pipfile/Pipfile.lock (to test that locking the current project always succeeds in multiple python versions).
$ tox
custom run-test-pre: PYTHONHASHSEED='345878128'
custom run-test-pre: commands[0] | -/tmp/tmp.d6HWGl8K3o/.tox/custom/bin/python -c 'import os; os.remove("foo")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'foo'
custom run-test-pre: commands[1] | -/tmp/tmp.d6HWGl8K3o/.tox/custom/bin/python -c 'import os; os.remove("bar")'
Traceback (most recent call last):
File "<string>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'bar'
custom run-test: commands[0] | /tmp/tmp.d6HWGl8K3o/.tox/custom/bin/python -c 'open("foo", "x"); open("bar", "x")'
custom run-test: commands[1] | -/tmp/tmp.d6HWGl8K3o/.tox/custom/bin/python -c 'import os; os.remove("foo")' -/tmp/tmp.d6HWGl8K3o/.tox/custom/bin/python -c 'import os; os.remove("bar")'
______________________________________________________________ summary ______________________________________________________________ custom: commands succeeded
congratulations :)
$ ll
total 4.0K
-rw-r--r-- 1 dtucker user 0 Jan 13 17:08 bar
-rw-r--r-- 1 dtucker user 268 Jan 13 17:08 tox.ini
This does not reproduce with {[testenv:custom]commands_pre} (however, that isn't usable with generative section names e.g. py{27,36}-custom instead of just custom).
The text was updated successfully, but these errors were encountered:
When submitting a bug make sure you can reproduce it via
tox -rvv
and attach the output of that to the bug. Ideally, you should also submit a project that allows easily reproducing the bug. Thanks!foo
/bar
, but to keep them around if the earlycommands
fail. This is an SSCCE, but an equivalent real-world example can be made withpipenv
/Pipfile
/Pipfile.lock
(to test that locking the current project always succeeds in multiple python versions).This does not reproduce with
{[testenv:custom]commands_pre}
(however, that isn't usable with generative section names e.g.py{27,36}-custom
instead of justcustom
).The text was updated successfully, but these errors were encountered: