Skip to content

Commit 0ceaa57

Browse files
authored
Merge pull request #9790 from pytest-dev/backport-9789-to-7.1.x
[7.1.x] [style]: fix typo in docstring
2 parents b9462ed + 93fad32 commit 0ceaa57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/python_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase:
573573
>>> {'a': 0.1 + 0.2, 'b': 0.2 + 0.4} == approx({'a': 0.3, 'b': 0.6})
574574
True
575575
576-
The comparision will be true if both mappings have the same keys and their
576+
The comparison will be true if both mappings have the same keys and their
577577
respective values match the expected tolerances.
578578
579579
**Tolerances**

0 commit comments

Comments
 (0)