Skip to content

Commit c5fd52b

Browse files
authored
Update assert.rst
1 parent 4cd2dda commit c5fd52b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/en/how-to/assert.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ errors are common. Instead of using ``assert abs(a - b) < tol`` or
9191
``pytest.approx`` works with scalars, lists, dictionaries, and NumPy arrays.
9292
It also supports comparisons involving NaNs.
9393

94-
See :ref:`approx` for details.
95-
94+
See :func:`pytest.approx` for details.
9695

9796
Assertions about expected exceptions
9897
------------------------------------------

0 commit comments

Comments
 (0)