diff options
author | Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> | 2020-10-04 08:54:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 08:54:43 +0200 |
commit | 8593b57666ff8412b0f56f60faca80df94e4ef96 (patch) | |
tree | d7ec169e430d47b932cbb2121baa36df989b1cd4 /src/_pytest/python_api.py | |
parent | 7f794b7affba8bcd6c2ec2af6a442a965d879ae4 (diff) | |
download | pytest-8593b57666ff8412b0f56f60faca80df94e4ef96.tar.gz |
Update link to numpy
Diffstat (limited to 'src/_pytest/python_api.py')
-rw-r--r-- | src/_pytest/python_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/python_api.py b/src/_pytest/python_api.py index e00a1b25d..71ba6d815 100644 --- a/src/_pytest/python_api.py +++ b/src/_pytest/python_api.py @@ -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 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`` are within an absolute tolerance of ``1e-7``. No relative tolerance is |