gh-134567: Exposes log format to users in unittest.TestCase.assertLogs
Allows users optionally to pass a custom log formatter to assertLogs such that assertions match expected custom formats where they are used. Existing behavior should be unaffected.
- Issue: gh-134567
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.
If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.
@ezio-melotti @rbtcollins @gpshead @serhiy-storchaka Does anyone have any bandwidth to look a this one? I believe it will be a fairly quick either accept or reject type change.
Please update also What's New and the versionchanged directive.
Can you clarify what's outstanding here? I thought I had addressed these with the previous commit.
They still contain "so your assertions can match". You only changed the NEWS entry.
Ah got you, should be sorted now. Thanks for all your help and attention on this.
LGTM. :+1: