Skip to content

Commit 1436e24

Browse files
fix test
1 parent 0ef5499 commit 1436e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_vectorizers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def test_dtypes(vectorizer_):
262262
# test dtype defaults to float32
263263
if issubclass(vectorizer_, CustomTextVectorizer):
264264
vectorizer = vectorizer_(embed=lambda x, input_type=None: [1.0, 2.0, 3.0])
265-
elif issubclass(vectorizer, AzureOpenAITextVectorizer):
265+
elif issubclass(vectorizer_, AzureOpenAITextVectorizer):
266266
vectorizer = vectorizer_(
267267
model=os.getenv("AZURE_OPENAI_DEPLOYMENT_NAME", "text-embedding-ada-002")
268268
)

0 commit comments

Comments
 (0)