From ac23640cd0fbdf9ebcc0e28af062d0074071bbab Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 20 Jan 2025 13:40:17 +0200 Subject: [PATCH] Fix test_cmd_line again. --- Lib/test/test_cmd_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 1c5947a204139d..3382c9091a9139 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -1015,7 +1015,7 @@ def test_parsing_error(self): stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True) - err_msg = "Unknown option --unknown-option\nusage: " + err_msg = "Unknown option: --unknown-option\nusage: " self.assertStartsWith(proc.stderr, err_msg) self.assertNotEqual(proc.returncode, 0)