diff options
author | robot-contrib <robot-contrib@yandex-team.com> | 2023-11-08 08:02:42 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.com> | 2023-11-08 08:31:37 +0300 |
commit | fd01b46f68dae86217fed11f93dbdce52d09fae5 (patch) | |
tree | c5c6b0d8e04a284b719fd6ef186973a922f6529a /contrib/python/traitlets/py3/tests/_warnings.py | |
parent | c29324adfbbd2c4bafa31109bc5890e9771fd541 (diff) | |
download | ydb-fd01b46f68dae86217fed11f93dbdce52d09fae5.tar.gz |
Update contrib/python/traitlets/py3 to 5.12.0
Diffstat (limited to 'contrib/python/traitlets/py3/tests/_warnings.py')
-rw-r--r-- | contrib/python/traitlets/py3/tests/_warnings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/traitlets/py3/tests/_warnings.py b/contrib/python/traitlets/py3/tests/_warnings.py index e3c3a0ac6d..1fb6e9a9a5 100644 --- a/contrib/python/traitlets/py3/tests/_warnings.py +++ b/contrib/python/traitlets/py3/tests/_warnings.py @@ -38,7 +38,7 @@ def all_warnings(): """ # Whenever a warning is triggered, Python adds a __warningregistry__ - # member to the *calling* module. The exercize here is to find + # member to the *calling* module. The exercise here is to find # and eradicate all those breadcrumbs that were left lying around. # # We proceed by first searching all parent calling frames and explicitly @@ -88,7 +88,7 @@ def expected_warnings(matching): Raises a ValueError if any match was not found or an unexpected warning was raised. Allows for three types of behaviors: "and", "or", and "optional" matches. - This is done to accomodate different build enviroments or loop conditions + This is done to accommodate different build environments or loop conditions that may produce different warnings. The behaviors can be combined. If you pass multiple patterns, you get an orderless "and", where all of the warnings must be raised. |