summaryrefslogtreecommitdiff
path: root/Lib/test/test_subprocess.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-12-14 15:25:20 +0000
committerGregory P. Smith <greg@mad-scientist.com>2010-12-14 15:25:20 +0000
commit773d7dffb1fa20fa1a434e326d66515d3bfd43fb (patch)
tree2a26ce656721b29c6f32743b18a4d0cc3a3db4ba /Lib/test/test_subprocess.py
parentb740e76af01bdd34e53d3c03b812e452f5d9a4e8 (diff)
downloadcpython-git-773d7dffb1fa20fa1a434e326d66515d3bfd43fb.tar.gz
fix "BytesWarning: str() on a bytes instance"
Diffstat (limited to 'Lib/test/test_subprocess.py')
-rw-r--r--Lib/test/test_subprocess.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index adf00a50a0..a633af5058 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'))
#