Kaydet (Commit) 3b7b1e53 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Try to fix test_tarfile under Windows

üst 5e8c8091
...@@ -1730,7 +1730,7 @@ class CommandLineTest(unittest.TestCase): ...@@ -1730,7 +1730,7 @@ class CommandLineTest(unittest.TestCase):
def tarfilecmd(self, *args): def tarfilecmd(self, *args):
rc, out, err = script_helper.assert_python_ok('-m', 'tarfile', *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): def tarfilecmd_failure(self, *args):
return script_helper.assert_python_failure('-m', 'tarfile', *args) return script_helper.assert_python_failure('-m', 'tarfile', *args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment