cpython/Lib/test/support
Miss Islington (bot) ebe7e6d86c
bpo-44852: Support filtering over warnings without a set message (GH-27793) (GH-27810)
Additional improvements:

- messages which were compiled regular expressions aren't unpacked back into
  strings for unmatched warnings;

- removed unnecessary "if tokens:" check (there's one before the for loop);

- took `endswith` calculation out of the for loop.
(cherry picked from commit 8cf07d3db3)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-18 14:10:39 +02:00
..
__init__.py bpo-44852: Support filtering over warnings without a set message (GH-27793) (GH-27810) 2021-08-18 14:10:39 +02:00
bytecode_helper.py bpo-18578: Rename and document test.bytecode_helper as test.support.bytecode_helper (GH-15168) 2019-09-12 10:02:59 +01:00
hashlib_helper.py bpo-40275: Move requires_hashdigest() to test.support.hashlib_helper (GH-19716) 2020-04-29 03:11:29 +02:00
logging_helper.py bpo-40275: Avoid importing logging in test.support (GH-19601) 2020-04-25 11:35:18 +03:00
script_helper.py bpo-38991: Remove test.support.strip_python_stderr() (GH-17490) 2019-12-08 08:38:16 +01:00
socket_helper.py bpo-40275: Fix name error in support.socket_helper (GH-19825) 2020-05-01 02:35:24 +02:00
testresult.py bpo-34945: Buffer output in test suite only when creating junit file (GH-10204) 2018-10-29 16:09:41 -04:00
warnings_helper.py [3.9] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in regrtest (GH-27634) (GH-27785) 2021-08-16 22:47:08 +02:00