Skip to content
Snippets Groups Projects
Unverified Commit 1ea14cd9 authored by James Briggs's avatar James Briggs
Browse files

chore: lint

parent 6cc3e346
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ class TestClipEncoder: ...@@ -38,7 +38,7 @@ class TestClipEncoder:
with patch.dict("sys.modules", {"transformers": None}): with patch.dict("sys.modules", {"transformers": None}):
with pytest.raises(ImportError) as error: with pytest.raises(ImportError) as error:
CLIPEncoder() CLIPEncoder()
assert "install transformers" in str(error.value) assert "install transformers" in str(error.value)
def test_clip_encoder__import_errors_torch(self, mocker): def test_clip_encoder__import_errors_torch(self, mocker):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment