Fix "BytesWarning: str() on a bytes instance"
This commit is contained in:
parent
e85db2bbb8
commit
a80f4fb048
@ -1081,7 +1081,8 @@ class POSIXProcessTestCase(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'))
|
||||||
|
|
||||||
|
|
||||||
@unittest.skipUnless(mswindows, "Windows specific tests")
|
@unittest.skipUnless(mswindows, "Windows specific tests")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user