We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e740967 commit 6382bb7Copy full SHA for 6382bb7
tests/unit/sagemaker/local/test_local_entities.py
@@ -291,7 +291,9 @@ def test_start_local_pipeline_with_wrong_parameter_type(sagemaker_local_session)
291
local_pipeline = sagemaker.local.entities._LocalPipeline(pipeline)
292
with pytest.raises(ClientError) as error:
293
local_pipeline.start(PipelineParameters={"MyStr": True})
294
- expected_error_pattern = r"Unexpected type for parameter 'MyStr'\. Expected .* but found <class 'bool'>\."
+ expected_error_pattern = (
295
+ r"Unexpected type for parameter 'MyStr'\. Expected .* but found <class 'bool'>\."
296
+ )
297
assert re.search(expected_error_pattern, str(error.value))
298
299
0 commit comments