From f0936d42fbb13eb3db4ee4bdf35e981bb7da2a4c Mon Sep 17 00:00:00 2001 From: Maik Figura Date: Sat, 15 Jul 2017 15:03:38 +0200 Subject: [PATCH] Fix linter errors --- _pytest/python_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_pytest/python_api.py b/_pytest/python_api.py index a96a4f63b..fe36372d1 100644 --- a/_pytest/python_api.py +++ b/_pytest/python_api.py @@ -372,8 +372,8 @@ def approx(expected, rel=None, abs=None, nan_ok=False): .. warning:: - In order to avoid inconsistent behavior, a ``NotImplementedError`` is - raised for ``__lt__`` and ``__gt__`` comparisons. The example below + In order to avoid inconsistent behavior, a ``NotImplementedError`` is + raised for ``__lt__`` and ``__gt__`` comparisons. The example below illustrates the problem:: assert approx(0.1) > 0.1 + 1e-10 # calls approx(0.1).__gt__(0.1 + 1e-10)