From 8593b57666ff8412b0f56f60faca80df94e4ef96 Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Sun, 4 Oct 2020 08:54:43 +0200 Subject: Update link to numpy --- src/_pytest/python_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_pytest/python_api.py') 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 -- cgit v1.2.3