diff --git a/tests/unit/encoders/test_clip.py b/tests/unit/encoders/test_clip.py index 15acb70638738c94b6c0f5637f9b3859db769147..5225cf4aa6d7a0fbde94bb421df9c25ab2c5cde0 100644 --- a/tests/unit/encoders/test_clip.py +++ b/tests/unit/encoders/test_clip.py @@ -38,7 +38,7 @@ class TestClipEncoder: with patch.dict("sys.modules", {"transformers": None}): with pytest.raises(ImportError) as error: CLIPEncoder() - + assert "install transformers" in str(error.value) def test_clip_encoder__import_errors_torch(self, mocker):