From 112bfaf62597ad1bb4709921859ccc7fb49a4a23 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Mon, 11 Jan 2021 11:42:27 -0500 Subject: [PATCH] we would like this to be utf-8 corresponding to the inputs --- src/allmydata/test/test_windows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/test/test_windows.py b/src/allmydata/test/test_windows.py index 857d9d26c..625799bd2 100644 --- a/src/allmydata/test/test_windows.py +++ b/src/allmydata/test/test_windows.py @@ -209,8 +209,8 @@ class UnicodeOutputTests(SyncTestCase): str(ord(stdout_char)), str(ord(stderr_char)), ], stdout=PIPE, stderr=PIPE) - stdout = p.stdout.read() - stderr = p.stderr.read() + stdout = p.stdout.read().decode("utf-8") + stderr = p.stderr.read().decode("utf-8") returncode = p.wait() self.assertThat(