Skip to content

Commit 3044077

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 38d30d5 commit 3044077

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎tests/test_number.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def test_intcomma(
8282
) -> None:
8383
assert humanize.intcomma(*test_args) == expected
8484

85+
8586
@pytest.mark.parametrize(
8687
"thousands_sep, decimal_sep, expected",
8788
[
@@ -100,6 +101,7 @@ def test_intcomma_localized_separators(
100101

101102
assert humanize.intcomma(1234567.89) == expected
102103

104+
103105
@pytest.mark.parametrize("sign", [1, -1])
104106
def test_intcomma_large_integer(sign: int) -> None:
105107
value = sign * (10**400 + 123)
@@ -313,10 +315,12 @@ def test_scientific(test_args: list[typing.Any], expected: str) -> None:
313315
def test_clamp(test_args: list[typing.Any], expected: str) -> None:
314316
assert humanize.clamp(*test_args) == expected
315317

318+
316319
def test_clamp_invalid_format() -> None:
317320
with pytest.raises(ValueError, match="Invalid format"):
318321
humanize.clamp(10, format=123)
319322

323+
320324
@pytest.mark.parametrize(
321325
"test_args, expected",
322326
[

0 commit comments

Comments
 (0)