Skip to content

Commit c5e1e2d

Browse files
committed
type object 'CLIPTokenizer' has no attribute '_PipelineFastTests__name'
1 parent baea141 commit c5e1e2d

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 f"{tokenizer.__class__.__name}" in str(error_context.exception)
1814+
assert "CLIPTokenizer" in str(error_context.exception)
18151815

18161816

18171817
@slow

0 commit comments

Comments
 (0)