diff options
author | Gregory P. Smith <greg@krypto.org> | 2014-06-16 03:16:01 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2014-06-16 03:16:01 (GMT) |
commit | 9204e091780d13b00ec989068abc8efe06c6af7a (patch) | |
tree | fc701a7f18058f27d8f7ddc20fb0a63eb789c0ce /Lib | |
parent | 634aa68c2b2b3e7d93561aba670f9ac233b9c5b2 (diff) | |
download | cpython-9204e091780d13b00ec989068abc8efe06c6af7a.zip cpython-9204e091780d13b00ec989068abc8efe06c6af7a.tar.gz cpython-9204e091780d13b00ec989068abc8efe06c6af7a.tar.bz2 |
fix a BytesWarning in my previous commit.
Diffstat (limited to 'Lib')
-rw-r--r-- | 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 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','))) |