Skip to content

Commit

Permalink
Update openai-python dep version for test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed Nov 8, 2023
1 parent bfbc95c commit 0c0be04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_different_language_translation(self):
try:
translation = translator.translate(text, 'en', 'fr')[0]
assert get_similarity(translation, 'Bonjour, comment ça va?') > 0.618
except openai.error.OpenAIError:
except openai.OpenAIError:
pass

def test_empty_text_list_translation(self):
Expand Down

0 comments on commit 0c0be04

Please sign in to comment.