Skip to content

Commit

Permalink
Include ISO 639-3 changes of 2024-01-19
Browse files Browse the repository at this point in the history
  • Loading branch information
LBeaudoux committed Feb 2, 2024
1 parent a179336 commit c24fd97
Show file tree
Hide file tree
Showing 10 changed files with 8,762 additions and 8,767 deletions.
912 changes: 457 additions & 455 deletions iso639/data/iso-639-3-macrolanguages.tab

Large diffs are not rendered by default.

15,837 changes: 7,920 additions & 7,917 deletions iso639/data/iso-639-3.tab

Large diffs are not rendered by default.

764 changes: 377 additions & 387 deletions iso639/data/iso-639-3_Retirements.tab

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion iso639/data/iso-639.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion iso639/data/iso-639_deprecated.json

Large diffs are not rendered by default.

Binary file modified iso639/data/iso-639_langs.pkl
Binary file not shown.
2 changes: 1 addition & 1 deletion iso639/data/iso-639_macro.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion iso639/data/iso-639_scope.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion iso639/data/iso-639_type.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import unittest

from iso639 import Lang, iter_langs
from iso639.exceptions import InvalidLanguageValue, DeprecatedLanguageValue
from iso639.exceptions import DeprecatedLanguageValue, InvalidLanguageValue


class TestLang(unittest.TestCase):
Expand Down Expand Up @@ -250,10 +251,9 @@ def test_scope(self):
self.assertIsNone(Lang("ber").scope())

def test_type(self):
self.assertEqual(Lang("lat").type(), "Ancient")
self.assertEqual(Lang("epo").type(), "Constructed")
self.assertEqual(Lang("djf").type(), "Extinct")
self.assertEqual(Lang("fro").type(), "Historical")
self.assertEqual(Lang("lat").type(), "Historical")
self.assertEqual(Lang("fra").type(), "Living")
self.assertEqual(Lang("und").type(), "Special")
self.assertIsNone(Lang("ber").type())
Expand Down

0 comments on commit c24fd97

Please sign in to comment.