Skip to content

Commit f0936d4

Browse files
maiksensinicoddemus
authored andcommitted
Fix linter errors
1 parent d3ab1b9 commit f0936d4

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
@@ -372,8 +372,8 @@ def approx(expected, rel=None, abs=None, nan_ok=False):
372372
373373
.. warning::
374374
375-
In order to avoid inconsistent behavior, a ``NotImplementedError`` is
376-
raised for ``__lt__`` and ``__gt__`` comparisons. The example below
375+
In order to avoid inconsistent behavior, a ``NotImplementedError`` is
376+
raised for ``__lt__`` and ``__gt__`` comparisons. The example below
377377
illustrates the problem::
378378
379379
assert approx(0.1) > 0.1 + 1e-10 # calls approx(0.1).__gt__(0.1 + 1e-10)

0 commit comments

Comments
 (0)