mirror of
https://github.com/python/cpython
synced 2024-09-16 03:29:57 +00:00
fix "BytesWarning: str() on a bytes instance"
This commit is contained in:
parent
b740e76af0
commit
773d7dffb1
|
@ -801,7 +801,8 @@ def test_wait_when_sigchild_ignored(self):
|
|||
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…
Reference in a new issue