Skip to content

Commit

Permalink
Merge pull request #9904 from johnkangw/notes_update
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed May 31, 2022
2 parents e54c6a1 + 97383d2 commit 130c954
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/_pytest/python_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,11 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase:
specialised test helpers in :std:doc:`numpy:reference/routines.testing`
if you need support for comparisons, NaNs, or ULP-based tolerances.
To match strings using regex, you can use
`Matches <https://github.com/asottile/re-assert#re_assertmatchespattern-str-args-kwargs>`_
from the
`re_assert package <https://github.com/asottile/re-assert>`_.
.. warning::
.. versionchanged:: 3.2
Expand Down

0 comments on commit 130c954

Please sign in to comment.