Skip to content

Commit e87c236

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_number.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ def test_fractional(test_input: float | str, expected: str) -> None:
200200
([0.3, 0], "3 x 10⁻¹"),
201201
([1e20], "1.00 x 10²⁰"),
202202
([2e-20], "2.00 x 10⁻²⁰"),
203-
([float(-3e20)], "-3.00 x 10²⁰"),
204-
([float(-4e-20)], "-4.00 x 10⁻²⁰"),
203+
([-3e20], "-3.00 x 10²⁰"),
204+
([-4e-20], "-4.00 x 10⁻²⁰"),
205205
([math.nan], "NaN"),
206206
([math.inf], "+Inf"),
207207
([-math.inf], "-Inf"),

0 commit comments

Comments
 (0)