From 54c18ae0c6372922fbf108e4ad659fa81ec66284 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 19 Feb 2022 21:10:57 +0200 Subject: [PATCH] Fix test on Win --- tests/commands/pkg/test_exec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commands/pkg/test_exec.py b/tests/commands/pkg/test_exec.py index 86b6c8fd..f1407d91 100644 --- a/tests/commands/pkg/test_exec.py +++ b/tests/commands/pkg/test_exec.py @@ -55,6 +55,6 @@ def test_unrecognized_options( ) with pytest.raises( AssertionError, - match=("openocd: unrecognized option"), + match=(r"openocd: (unrecognized|unknown) option"), ): validate_cliresult(result)