Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 22, 2022
1 parent cfdfb81 commit e34f1cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_i18n.py
Expand Up @@ -52,6 +52,7 @@ def test_intcomma() -> None:
humanize.i18n.deactivate()
assert humanize.intcomma(number) == "10,000,000"


def test_naturaldelta() -> None:
seconds = 1234 * 365 * 24 * 60 * 60

Expand All @@ -70,6 +71,7 @@ def test_naturaldelta() -> None:
humanize.i18n.deactivate()
assert humanize.naturaldelta(seconds) == "1,234 years"


@pytest.mark.parametrize(
("locale", "number", "expected_result"),
(
Expand Down

0 comments on commit e34f1cc

Please sign in to comment.