diff -r bec815f991b0 -r 42f3a277c8dc tests/printenv.py --- a/tests/printenv.py Tue Jun 12 18:49:22 2018 -0400 +++ b/tests/printenv.py Tue Jun 12 18:49:35 2018 -0400 @@ -26,6 +26,7 @@ exitcode = 0 out = sys.stdout +out = getattr(out, 'buffer', out) name = sys.argv[1] if len(sys.argv) > 2: