summaryrefslogtreecommitdiff
path: root/tests/session
diff options
context:
space:
mode:
authorbgabor8 <bgabor8@bloomberg.net>2020-12-23 19:41:34 +0000
committerBernát Gábor <gaborjbernat@gmail.com>2020-12-24 12:21:34 +0000
commitc15e38a977689b3a33d03f91ceae250b5293149c (patch)
tree387529f64efb309a76df4f466a0e15dfb5111a88 /tests/session
parenta70a685e7fea4c87e0e79ff3dadeea03f1f0b7ab (diff)
downloadtox-git-c15e38a977689b3a33d03f91ceae250b5293149c.tar.gz
More Windows fix
Diffstat (limited to 'tests/session')
-rw-r--r--tests/session/cmd/test_sequential.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/session/cmd/test_sequential.py b/tests/session/cmd/test_sequential.py
index d7abcd04..3e7ceee8 100644
--- a/tests/session/cmd/test_sequential.py
+++ b/tests/session/cmd/test_sequential.py
@@ -14,7 +14,7 @@ from tox.pytest import ToxProjectCreator
def test_run_ignore_cmd_exit_code(tox_project: ToxProjectCreator) -> None:
cmd = [
"- python -c 'import sys; print(\"magic fail\", file=sys.stderr); sys.exit(1)'",
- "python -c 'import sys; print(\"magic pass\"); sys.exit(0)'",
+ "python -c 'import sys; print(\"magic pass\", file=sys.stdout); sys.exit(0)'",
]
project = tox_project({"tox.ini": f"[tox]\nno_package=true\n[testenv]\ncommands={cmd[0]}\n {cmd[1]}"})
outcome = project.run("r", "-e", "py")