Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion sagemaker-core/src/sagemaker/core/jumpstart/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def get_jumpstart_content_bucket(
except KeyError:
formatted_launched_regions_str = get_jumpstart_launched_regions_message()
raise ValueError(
f"Unable to get content bucket for Neo in {region} region. "
f"Unable to get content bucket for JumpStart in {region} region. "
f"{formatted_launched_regions_str}"
)

Expand Down
2 changes: 1 addition & 1 deletion sagemaker-core/tests/unit/test_jumpstart_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def test_get_jumpstart_content_bucket_with_override(self):
def test_get_jumpstart_content_bucket_invalid_region(self):
"""Test with invalid region"""
with patch.object(constants, "JUMPSTART_REGION_NAME_TO_LAUNCHED_REGION_DICT", {}):
with pytest.raises(ValueError, match="Unable to get content bucket for Neo"):
with pytest.raises(ValueError, match="Unable to get content bucket for JumpStart"):
utils.get_jumpstart_content_bucket("invalid-region")


Expand Down
Loading