Fix linter errors

This commit is contained in:
Maik Figura 2017-07-15 15:03:38 +02:00 committed by Bruno Oliveira
parent d3ab1b9df4
commit f0936d42fb
1 changed files with 2 additions and 2 deletions

View File

@ -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)