Kaydet (Commit) a80f4fb0 authored tarafından Gregory P. Smith's avatar Gregory P. Smith

Fix "BytesWarning: str() on a bytes instance"

üst e85db2bb
...@@ -1081,7 +1081,8 @@ class POSIXProcessTestCase(BaseTestCase): ...@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment