From 26e0c4dffa959e7438308291a98647a349037652 Mon Sep 17 00:00:00 2001 From: connor-mccarthy Date: Tue, 12 Dec 2023 19:36:44 -0500 Subject: [PATCH] chore(sdk): fix use of invalid escape sequence in tests --- sdk/python/kfp/local/task_dispatcher_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/python/kfp/local/task_dispatcher_test.py b/sdk/python/kfp/local/task_dispatcher_test.py index c158fb25e68..753fd7b3dc0 100644 --- a/sdk/python/kfp/local/task_dispatcher_test.py +++ b/sdk/python/kfp/local/task_dispatcher_test.py @@ -122,7 +122,7 @@ def my_pipeline(): my_pipeline = testing_utilities.compile_and_load_component(my_pipeline) with self.assertRaisesRegex( NotImplementedError, - 'Local pipeline execution is not currently supported\.', + r'Local pipeline execution is not currently supported\.', ): my_pipeline() @@ -142,7 +142,7 @@ def my_pipeline(): my_pipeline = testing_utilities.compile_and_load_component(my_pipeline) with self.assertRaisesRegex( NotImplementedError, - 'Local pipeline execution is not currently supported\.', + r'Local pipeline execution is not currently supported\.', ): my_pipeline() @@ -160,7 +160,7 @@ def my_pipeline(string: str) -> str: with self.assertRaisesRegex( NotImplementedError, - 'Local pipeline execution is not currently supported\.', + r'Local pipeline execution is not currently supported\.', ): my_pipeline(string='foo')