From e87c23621494290cd05ee73e097e1cd75bab034e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:26:33 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_number.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_number.py b/tests/test_number.py index 2eaa6eb..705ed43 100644 --- a/tests/test_number.py +++ b/tests/test_number.py @@ -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"),