SIGN IN SIGN UP

gh-143231: Do not swallow not matched warnings in assertWarns*() (GH-149229)

unittest.TestCase methods assertWarns() and assertWarnsRegex() no longer
swallow warnings that do not match the specified category or regex.
Nested context managers are now supported.
S
Serhiy Storchaka committed
a3435d5ccc1878db52f48b0a5944cd0a78ec8fcf
Parent: 8a7edda
Committed by GitHub <noreply@github.com> on 5/3/2026, 10:24:57 AM