summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2014-06-15 20:17:23 -0700
committerGregory P. Smith <greg@krypto.org>2014-06-15 20:17:23 -0700
commit8ff4dfe857e7c4089c58b4abaf065baef4d5fadb (patch)
treeb34e42ddf275874df8de48908442676bf69e604c
parent0ce9537fc5dec2a900f6646d58e26ad2d6655f4e (diff)
parent9204e091780d13b00ec989068abc8efe06c6af7a (diff)
downloadcpython-git-8ff4dfe857e7c4089c58b4abaf065baef4d5fadb.tar.gz
fix a BytesWarning in my previous commit.
-rw-r--r--Lib/test/test_subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 0c05358958..d0ab718646 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1998,7 +1998,7 @@ class POSIXProcessTestCase(BaseTestCase):
output, unused_stderr = p.communicate()
output_lines = output.splitlines()
self.assertEqual(len(output_lines), 2,
- msg="expected exactly two lines of output:\n%s" % output)
+ msg="expected exactly two lines of output:\n%r" % output)
opened_fds = set(map(int, output_lines[0].strip().split(b',')))
remaining_fds = set(map(int, output_lines[1].strip().split(b',')))