diff --git a/tests/flytekit/unit/core/test_local_raw_container.py b/tests/flytekit/unit/core/test_local_raw_container.py index 9fb49b5b90..e92ef34efc 100644 --- a/tests/flytekit/unit/core/test_local_raw_container.py +++ b/tests/flytekit/unit/core/test_local_raw_container.py @@ -100,9 +100,9 @@ def flyte_file_io_wf() -> FlyteFile: with pytest.raises( AssertionError, - match="FlyteFile and FlyteDirectory commands should not use the template syntax like this: {{.inputs.infile}}\n" - "Please use a path-like syntax, such as: /var/inputs/infile.\n" - "This requirement is due to how Flyte Propeller processes template syntax inputs." + match=r"FlyteFile and FlyteDirectory commands should not use the template syntax like this: {{.inputs.infile}}\n" + r"Please use a path-like syntax, such as: /var/inputs/infile.\n" + r"This requirement is due to how Flyte Propeller processes template syntax inputs." ): flyte_file_io_wf()