mirror of https://github.com/python/cpython
Try to fix test_tarfile under Windows
This commit is contained in:
parent
5e8c8091ee
commit
3b7b1e533e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue