mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
gh-103109: Document ignore_warnings() test support helper (#103110)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
6883007a86
commit
32937d6aa4
2 changed files with 16 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue