Skip to content

Commit

Permalink
chore(sdk): fix use of invalid escape sequence in tests (#10310)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-mccarthy committed Dec 18, 2023
1 parent 76aad8b commit d0da0ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/python/kfp/local/task_dispatcher_test.py
Expand Up @@ -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()

Expand All @@ -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()

Expand All @@ -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')

Expand Down

0 comments on commit d0da0ad

Please sign in to comment.