From 9204e091780d13b00ec989068abc8efe06c6af7a Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Sun, 15 Jun 2014 20:16:01 -0700 Subject: fix a BytesWarning in my previous commit. --- Lib/test/test_subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index 0c05358..d0ab718 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','))) -- cgit v0.12