Skip to content

Commit 130c954

Browse files
authored
Merge pull request pytest-dev#9904 from johnkangw/notes_update
2 parents e54c6a1 + 97383d2 commit 130c954

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/_pytest/python_api.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,11 @@ def approx(expected, rel=None, abs=None, nan_ok: bool = False) -> ApproxBase:
666666
specialised test helpers in :std:doc:`numpy:reference/routines.testing`
667667
if you need support for comparisons, NaNs, or ULP-based tolerances.
668668
669+
To match strings using regex, you can use
670+
`Matches <https://github.com/asottile/re-assert#re_assertmatchespattern-str-args-kwargs>`_
671+
from the
672+
`re_assert package <https://github.com/asottile/re-assert>`_.
673+
669674
.. warning::
670675
671676
.. versionchanged:: 3.2

0 commit comments

Comments
 (0)