Skip to content

Commit ddcd170

Browse files
committed
Fix linter errors
1 parent 0b758d8 commit ddcd170

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_pytest/python_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ def approx(expected, rel=None, abs=None, nan_ok=False):
416416
417417
.. warning::
418418
419-
In order to avoid inconsistent behavior, a ``NotImplementedError`` is
420-
raised for ``__lt__`` and ``__gt__`` comparisons. The example below
419+
In order to avoid inconsistent behavior, a ``NotImplementedError`` is
420+
raised for ``__lt__`` and ``__gt__`` comparisons. The example below
421421
illustrates the problem::
422422
423423
assert approx(0.1) > 0.1 + 1e-10 # calls approx(0.1).__gt__(0.1 + 1e-10)

0 commit comments

Comments
 (0)