Skip to content

Commit c1db3bd

Browse files
hlkysayakpaul
andauthored
Update tests/pipelines/test_pipelines.py
Co-authored-by: Sayak Paul <[email protected]>
1 parent 6aad7a7 commit c1db3bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pipelines/test_pipelines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1811,7 +1811,7 @@ def test_wrong_model(self):
18111811

18121812
assert "Expected" in str(error_context.exception)
18131813
assert "text_encoder" in str(error_context.exception)
1814-
assert "CLIPTokenizer" in str(error_context.exception)
1814+
assert f"{tokenizer.__class__.__name}" in str(error_context.exception)
18151815

18161816

18171817
@slow

0 commit comments

Comments
 (0)