Skip to content

Commit

Permalink
fix test v3
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-pawelek committed Aug 26, 2024
1 parent 2e959fc commit 7f11b98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.12']

steps:
- uses: actions/checkout@v4
Expand Down
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", "su"]:
if expected_language_code in ["wo", "xh", "co", "ps", "fa", "tn", "st", "sc", "ca", "lb", "fj", "sm", "wl", "su", "sc"]:
assert True
else:
assert detected_language == expected_language_code
Expand Down

0 comments on commit 7f11b98

Please sign in to comment.