diff options
author | Charlie Zhao <zhaoyu_hit@qq.com> | 2023-04-02 22:18:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 22:18:25 (GMT) |
commit | 32937d6aa414ec7db5c63ef277f21db1880b3af4 (patch) | |
tree | 8851c1c441873237b2225e454bc50d5e3fe32dea /Lib/test/support/warnings_helper.py | |
parent | 6883007a86bdf0d7cf4560b949fd5e577dab1013 (diff) | |
download | cpython-32937d6aa414ec7db5c63ef277f21db1880b3af4.zip cpython-32937d6aa414ec7db5c63ef277f21db1880b3af4.tar.gz cpython-32937d6aa414ec7db5c63ef277f21db1880b3af4.tar.bz2 |
gh-103109: Document ignore_warnings() test support helper (#103110)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Lib/test/support/warnings_helper.py')
-rw-r--r-- | Lib/test/support/warnings_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/warnings_helper.py b/Lib/test/support/warnings_helper.py index 28e96f88..c1bf056 100644 --- a/Lib/test/support/warnings_helper.py +++ b/Lib/test/support/warnings_helper.py @@ -44,7 +44,7 @@ def check_syntax_warning(testcase, statement, errtext='', def ignore_warnings(*, category): - """Decorator to suppress deprecation warnings. + """Decorator to suppress warnings. Use of context managers to hide warnings make diffs more noisy and tools like 'git blame' less useful. |