diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2010-12-14 15:25:20 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2010-12-14 15:25:20 (GMT) |
commit | 773d7dffb1fa20fa1a434e326d66515d3bfd43fb (patch) | |
tree | 2a26ce656721b29c6f32743b18a4d0cc3a3db4ba /Lib | |
parent | b740e76af01bdd34e53d3c03b812e452f5d9a4e8 (diff) | |
download | cpython-773d7dffb1fa20fa1a434e326d66515d3bfd43fb.zip cpython-773d7dffb1fa20fa1a434e326d66515d3bfd43fb.tar.gz cpython-773d7dffb1fa20fa1a434e326d66515d3bfd43fb.tar.bz2 |
fix "BytesWarning: str() on a bytes instance"
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_subprocess.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ 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')) # |