we would like this to be utf-8 corresponding to the inputs

This commit is contained in:
Jean-Paul Calderone 2021-01-11 11:42:27 -05:00
parent ab1f6f3a59
commit 112bfaf625

View File

@ -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(