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

This commit is contained in:
Gregory P. Smith 2010-12-14 15:25:20 +00:00
parent b740e76af0
commit 773d7dffb1

View file

@ -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'))
#