diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-24 00:55:05 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-24 00:55:05 (GMT) |
commit | 3b7b1e533e640f4b0427d61fa442111e6bf16fda (patch) | |
tree | 375717994618d1c8f3b3866b503ce029876563ec | |
parent | 5e8c8091ee635e9493f2e308f3681fb44b0e64ac (diff) | |
download | cpython-3b7b1e533e640f4b0427d61fa442111e6bf16fda.zip cpython-3b7b1e533e640f4b0427d61fa442111e6bf16fda.tar.gz cpython-3b7b1e533e640f4b0427d61fa442111e6bf16fda.tar.bz2 |
Try to fix test_tarfile under Windows
-rw-r--r-- | Lib/test/test_tarfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |