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)