We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de47c81 commit d2650e1Copy full SHA for d2650e1
1 file changed
tests/test_i18n.py
@@ -29,6 +29,10 @@ def test_i18n() -> None:
29
assert humanize.ordinal(5) == "5ый"
30
assert humanize.precisedelta(one_min_three_seconds) == "1 минута и 7 секунд"
31
32
+ except FileNotFoundError:
33
+ pytest.skip("Generate .mo with scripts/generate-translation-binaries.sh")
34
+
35
+ try:
36
humanize.i18n.activate("lv")
37
assert humanize.naturaltime(three_seconds) == "pirms 3 sekundēm"
38
assert humanize.ordinal(5) == "5."
0 commit comments