mirror of
https://github.com/python/cpython.git
synced 2025-12-11 03:20:01 +00:00
Try to fix test_tarfile under Windows
This commit is contained in:
parent
5e8c8091ee
commit
3b7b1e533e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue