Merge pull request #7853 from albertvillanova/doc-patch-1

This commit is contained in:
Bruno Oliveira 2020-10-04 09:15:46 -03:00 committed by GitHub
commit 7581f0b3a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase:
think of ``b`` as the reference value. Support for comparing sequences think of ``b`` as the reference value. Support for comparing sequences
is provided by ``numpy.allclose``. `More information...`__ is provided by ``numpy.allclose``. `More information...`__
__ http://docs.scipy.org/doc/numpy-1.10.0/reference/generated/numpy.isclose.html __ https://numpy.org/doc/stable/reference/generated/numpy.isclose.html
- ``unittest.TestCase.assertAlmostEqual(a, b)``: True if ``a`` and ``b`` - ``unittest.TestCase.assertAlmostEqual(a, b)``: True if ``a`` and ``b``
are within an absolute tolerance of ``1e-7``. No relative tolerance is are within an absolute tolerance of ``1e-7``. No relative tolerance is