fix "BytesWarning: str() on a bytes instance"
This commit is contained in:
parent
b740e76af0
commit
773d7dffb1
|
@ -801,7 +801,8 @@ class ProcessTestCase(BaseTestCase):
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
stdout, stderr = p.communicate()
|
stdout, stderr = p.communicate()
|
||||||
self.assertEqual(0, p.returncode, "sigchild_ignore.py exited"
|
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 New Issue