Skip to content

Commit c518362

Browse files
committed
fix test import
1 parent 0d6a7ae commit c518362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_distillation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def test_distill(
209209
@patch.object(import_module("model2vec.distill.distillation"), "model_info")
210210
def test_missing_modelinfo(
211211
mock_model_info: MagicMock,
212-
mock_transformer: AutoModel,
212+
mock_transformer: PreTrainedModel,
213213
mock_berttokenizer: BertTokenizerFast,
214214
) -> None:
215215
"""Test that missing model info does not crash."""

0 commit comments

Comments
 (0)