We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pytest.approx
1 parent 64e3c91 commit f9881afCopy full SHA for f9881af
testing/python/approx.py
@@ -1,21 +1,18 @@
1
# mypy: allow-untyped-defs
2
from __future__ import annotations
3
4
-from contextlib import contextmanager
5
import decimal
6
-from decimal import Decimal
7
-from fractions import Fraction
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
+from contextlib import contextmanager
+from decimal import Decimal
+from fractions import Fraction
+from math import inf, nan, sqrt
+from operator import eq, ne
15
+import pytest
16
from _pytest.pytester import Pytester
17
from _pytest.python_api import _recursive_sequence_map
18
-import pytest
19
from pytest import approx
20
21
0 commit comments