Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(sdk): fix use of invalid escape sequence in tests #10310

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/python/kfp/local/task_dispatcher_test.py
Original file line number Diff line number Diff line change
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