Skip to content

Commit

Permalink
fixed black-check
Browse files Browse the repository at this point in the history
  • Loading branch information
knikure committed Apr 17, 2024
1 parent 0ba1744 commit 01f6272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/sagemaker/serve/builder/test_model_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ def test_build_mlflow_model_local_input_happy(

mock_mode = Mock()
mock_sageMakerEndpointMode.side_effect = lambda inference_spec, model_server: (
mock_mode if inference_spec is None and model_server == ModelServer.TORCHSERVE else None
mock_mode if inference_spec is None and model_server == ModelServer.TORCHSERVE else None
)
mock_mode.prepare.return_value = (
model_data,
Expand Down

0 comments on commit 01f6272

Please sign in to comment.