summaryrefslogtreecommitdiff
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-10-25 19:41:34 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-10-25 19:41:34 -0400
commit0d1c4843236b6763cb096645d3fc040995e71637 (patch)
tree226708bfe2a0d86042267182198dc49a424efe2f /tests/helpers.py
parentd30ed7bf6b327c3ba1cf95e3683a9d3305070449 (diff)
downloadpython-coveragepy-git-0d1c4843236b6763cb096645d3fc040995e71637.tar.gz
Diagnostic for appveyor, part 2 of N
Diffstat (limited to 'tests/helpers.py')
-rw-r--r--tests/helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py
index e85c7842..67d51b25 100644
--- a/tests/helpers.py
+++ b/tests/helpers.py
@@ -18,7 +18,8 @@ def run_command(cmd):
# the subprocess is set incorrectly to ascii. Use an environment variable
# to force the encoding to be the same as ours.
sub_env = dict(os.environ, PYTHONIOENCODING=sys.__stdout__.encoding)
- print("SUB_ENV: %r" % (sub_env,))
+ print("__stdout__: %r, enc = %r" % (sys.__stdout__, sys.__stdout__.encoding))
+ print("stdout: %r, enc = %r" % (sys.stdout, sys.stdout.encoding))
proc = subprocess.Popen(
cmd,
shell=True,