diff options
author | Wei-Hsiang (Matt) Wang <mattwang44@gmail.com> | 2024-08-30 11:34:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-30 11:34:09 (GMT) |
commit | 103a0470e31d80d56097f57a27d97d7d2d3c9fbb (patch) | |
tree | 52f32100a42617bf120a8bdb8d3aa193dc35ae8d /Doc/library/test.rst | |
parent | 8aaf7525ab839c32966ee862363ad2543a721306 (diff) | |
download | cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.zip cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.tar.gz cpython-103a0470e31d80d56097f57a27d97d7d2d3c9fbb.tar.bz2 |
gh-123492: Remove unnecessary `:func:` parentheses (#123493)
Diffstat (limited to 'Doc/library/test.rst')
-rw-r--r-- | Doc/library/test.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/test.rst b/Doc/library/test.rst index 2a61f0a..12f8604 100644 --- a/Doc/library/test.rst +++ b/Doc/library/test.rst @@ -1701,7 +1701,7 @@ The :mod:`test.support.warnings_helper` module provides support for warnings tes .. function:: check_warnings(*filters, quiet=True) - A convenience wrapper for :func:`warnings.catch_warnings()` that makes it + A convenience wrapper for :func:`warnings.catch_warnings` that makes it easier to test that a warning was correctly raised. It is approximately equivalent to calling ``warnings.catch_warnings(record=True)`` with :meth:`warnings.simplefilter` set to ``always`` and with the option to |