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
1 changed files with 2 additions and 1 deletions

View File

@ -801,7 +801,8 @@ class ProcessTestCase(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'))
#