From: Gregory P. Smith Date: Mon, 16 Jun 2014 03:16:01 +0000 (-0700) Subject: fix a BytesWarning in my previous commit. X-Git-Tag: v3.4.2rc1~386 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9204e091780d13b00ec989068abc8efe06c6af7a;p=python fix a BytesWarning in my previous commit. --- 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',')))