Skip to content

Commit d6e1bce

Browse files
committed
apply ruff fixes
1 parent 8b50d41 commit d6e1bce

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

testing/python/approx.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
# mypy: allow-untyped-defs
22
from __future__ import annotations
33

4-
import decimal
5-
import operator
6-
import re
74
from contextlib import contextmanager
5+
import decimal
86
from decimal import Decimal
97
from fractions import Fraction
10-
from math import inf, nan, sqrt
11-
from operator import eq, ne
8+
from math import inf
9+
from math import nan
10+
from math import sqrt
11+
import operator
12+
from operator import eq
13+
from operator import ne
14+
import re
1215

13-
import pytest
1416
from _pytest.pytester import Pytester
1517
from _pytest.python_api import _recursive_sequence_map
18+
import pytest
1619
from pytest import approx
1720

1821

0 commit comments

Comments
 (0)