summaryrefslogtreecommitdiff
path: root/src/_pytest/python_api.py
diff options
context:
space:
mode:
authorAlbert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com>2020-10-04 08:54:43 +0200
committerGitHub <noreply@github.com>2020-10-04 08:54:43 +0200
commit8593b57666ff8412b0f56f60faca80df94e4ef96 (patch)
treed7ec169e430d47b932cbb2121baa36df989b1cd4 /src/_pytest/python_api.py
parent7f794b7affba8bcd6c2ec2af6a442a965d879ae4 (diff)
downloadpytest-8593b57666ff8412b0f56f60faca80df94e4ef96.tar.gz
Update link to numpy
Diffstat (limited to 'src/_pytest/python_api.py')
-rw-r--r--src/_pytest/python_api.py2
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