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 Apr 1, 2024
1 parent e23d74d commit e87c236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_number.py
Expand Up @@ -200,8 +200,8 @@ def test_fractional(test_input: float | str, expected: str) -> None:
([0.3, 0], "3 x 10⁻¹"),
([1e20], "1.00 x 10²⁰"),
([2e-20], "2.00 x 10⁻²⁰"),
([float(-3e20)], "-3.00 x 10²⁰"),
([float(-4e-20)], "-4.00 x 10⁻²⁰"),
([-3e20], "-3.00 x 10²⁰"),
([-4e-20], "-4.00 x 10⁻²⁰"),
([math.nan], "NaN"),
([math.inf], "+Inf"),
([-math.inf], "-Inf"),
Expand Down

0 comments on commit e87c236

Please sign in to comment.