From 14c34d1f39b571aebe5695ed950f492b91106958 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 16 Apr 2024 07:19:17 -0400 Subject: [PATCH] In script tests, exercise the backport. --- tests/test_tarfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tarfile.py b/tests/test_tarfile.py index e6f3792..0d481c4 100644 --- a/tests/test_tarfile.py +++ b/tests/test_tarfile.py @@ -2559,12 +2559,12 @@ def test_useful_error_message_when_modules_missing(self): class CommandLineTest(unittest.TestCase): def tarfilecmd(self, *args, **kwargs): - rc, out, err = script_helper.assert_python_ok('-m', 'tarfile', *args, + rc, out, err = script_helper.assert_python_ok('-m', 'backports.tarfile', *args, **kwargs) return out.replace(os.linesep.encode(), b'\n') def tarfilecmd_failure(self, *args): - return script_helper.assert_python_failure('-m', 'tarfile', *args) + return script_helper.assert_python_failure('-m', 'backports.tarfile', *args) def make_simple_tarfile(self, tar_name): files = [support.findfile('tokenize_tests.txt',