fix a BytesWarning in my previous commit.

This commit is contained in:
Gregory P. Smith 2014-06-15 20:16:01 -07:00
parent 634aa68c2b
commit 9204e09178
1 changed files with 1 additions and 1 deletions

View File

@ -1998,7 +1998,7 @@ class POSIXProcessTestCase(BaseTestCase):
output, unused_stderr = p.communicate()
output_lines = output.splitlines()
self.assertEqual(len(output_lines), 2,
msg="expected exactly two lines of output:\n%s" % output)
msg="expected exactly two lines of output:\n%r" % output)
opened_fds = set(map(int, output_lines[0].strip().split(b',')))
remaining_fds = set(map(int, output_lines[1].strip().split(b',')))