commit | 773d7dffb1fa20fa1a434e326d66515d3bfd43fb | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Tue Dec 14 15:25:20 2010 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Tue Dec 14 15:25:20 2010 +0000 |
tree | 2a26ce656721b29c6f32743b18a4d0cc3a3db4ba | |
parent | b740e76af01bdd34e53d3c03b812e452f5d9a4e8 [diff] [blame] |
fix "BytesWarning: str() on a bytes instance"
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index adf00a5..a633af5 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py
@@ -801,7 +801,8 @@ 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')) #