[Python-checkins] cpython (3.4): fix a BytesWarning in my previous commit.
gregory.p.smith
python-checkins at python.org
Mon Jun 16 05:17:32 CEST 2014
http://hg.python.org/cpython/rev/7d777aa53ea6
changeset: 91192:7d777aa53ea6
branch: 3.4
parent: 91189:3c57f7c4f13e
user: Gregory P. Smith <greg at krypto.org>
date: Sun Jun 15 20:16:01 2014 -0700
summary:
fix a BytesWarning in my previous commit.
files:
Lib/test/test_subprocess.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -1998,7 +1998,7 @@
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',')))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list