mirror of
https://github.com/python/cpython.git
synced 2024-12-03 06:46:01 +08:00
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, 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'))
|
||||
|
||||
|
||||
@unittest.skipUnless(mswindows, "Windows specific tests")
|
||||
|
Loading…
Reference in New Issue
Block a user