From 8f64a39d0aab74b2de2bacee03f76e4b90555fa5 Mon Sep 17 00:00:00 2001 From: Florian Best Date: Fri, 18 Mar 2022 22:00:14 +0100 Subject: [PATCH] [style]: fix typo in docstring --- src/_pytest/python_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index ea646811d..be1576133 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -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}) 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. **Tolerances**