mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
fix a BytesWarning in my previous commit.
This commit is contained in:
parent
634aa68c2b
commit
9204e09178
1 changed files with 1 additions and 1 deletions
|
@ -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',')))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue