From 3b7b1e533e640f4b0427d61fa442111e6bf16fda Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 24 Nov 2013 01:55:05 +0100 Subject: Try to fix test_tarfile under Windows --- Lib/test/test_tarfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index 69e77f6..9d31810 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -1730,7 +1730,7 @@ class CommandLineTest(unittest.TestCase): def tarfilecmd(self, *args): rc, out, err = script_helper.assert_python_ok('-m', 'tarfile', *args) - return out + return out.replace(os.linesep.encode(), b'\n') def tarfilecmd_failure(self, *args): return script_helper.assert_python_failure('-m', 'tarfile', *args) -- cgit v0.12