Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shadchin committed May 9, 2024
1 parent a8a7f8b commit 3300ab4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions langcodes/tests/test_wikt_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,12 @@
import pytest
import langcodes
from langcodes.language_lists import WIKT_LANGUAGE_NAMES
import pytest

LANGUAGES = ['en', 'de']


@pytest.mark.parametrize(LANGUAGES)
def check_wiktionary_language(target_lang):
@pytest.mark.parametrize("target_lang", LANGUAGES)
def test_check_wiktionary_language(target_lang):
seen_codes = {}
for lang_name in WIKT_LANGUAGE_NAMES[target_lang]:
if lang_name.startswith('Proto-'):
Expand Down

0 comments on commit 3300ab4

Please sign in to comment.