Skip to content

Commit 588f12c

Browse files
committed
fix test after cherry
1 parent 54b4514 commit 588f12c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_hub_mixin_pytorch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def test_generate_model_card(self):
325325
assert card.data.tags == ["model_hub_mixin", "pytorch_model_hub_mixin", "tag1", "tag2"]
326326

327327
# Model card template has been used
328-
assert "This is a dummy model card." in str(card)
328+
assert "This is a dummy model card with kwargs." in str(card)
329329

330330
model.save_pretrained(self.cache_dir)
331331
card_reloaded = ModelCard.load(self.cache_dir / "README.md")

0 commit comments

Comments
 (0)