diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-25 19:41:34 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-10-25 19:41:34 -0400 |
| commit | d2f814d4e90601ee40d6528281f74d9037002f42 (patch) | |
| tree | 5053207b39f8aae449147bcd0f689817bb9f3fd4 /tests/helpers.py | |
| parent | ba5c1bfbc755814a0c19af4ee3be2d362e81c3db (diff) | |
| download | python-coveragepy-d2f814d4e90601ee40d6528281f74d9037002f42.tar.gz | |
Diagnostic for appveyor, part 2 of N
Diffstat (limited to 'tests/helpers.py')
| -rw-r--r-- | tests/helpers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/helpers.py b/tests/helpers.py index e85c784..67d51b2 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, |
