mirror of https://github.com/pytest-dev/pytest.git
Merge pull request #9790 from pytest-dev/backport-9789-to-7.1.x
[7.1.x] [style]: fix typo in docstring
This commit is contained in:
commit
0ceaa57d9d
|
@ -573,7 +573,7 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase:
|
||||||
>>> {'a': 0.1 + 0.2, 'b': 0.2 + 0.4} == approx({'a': 0.3, 'b': 0.6})
|
>>> {'a': 0.1 + 0.2, 'b': 0.2 + 0.4} == approx({'a': 0.3, 'b': 0.6})
|
||||||
True
|
True
|
||||||
|
|
||||||
The comparision will be true if both mappings have the same keys and their
|
The comparison will be true if both mappings have the same keys and their
|
||||||
respective values match the expected tolerances.
|
respective values match the expected tolerances.
|
||||||
|
|
||||||
**Tolerances**
|
**Tolerances**
|
||||||
|
|
Loading…
Reference in New Issue