mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
fix "BytesWarning: str() on a bytes instance"
This commit is contained in:
parent
b740e76af0
commit
773d7dffb1
1 changed files with 2 additions and 1 deletions
|
@ -801,7 +801,8 @@ class ProcessTestCase(BaseTestCase):
|
|||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
stdout, stderr = p.communicate()
|
||||
self.assertEqual(0, p.returncode, "sigchild_ignore.py exited"
|
||||
" non-zero with this error:\n%s" % stderr)
|
||||
" non-zero with this error:\n%s" %
|
||||
stderr.decode('utf8'))
|
||||
|
||||
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue