Skip to content

Commit ca72d91

Browse files
committed
Addresses review comments on gh-134570
1 parent 10aa529 commit ca72d91

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Doc/library/unittest.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,8 +1178,7 @@ Test cases
11781178
.. versionadded:: 3.4
11791179

11801180
.. versionchanged:: next
1181-
Now accepts a *formatter* so your assertions can match
1182-
a custom format where you are using one.
1181+
Now accepts a *formatter* to control how messages are formatted.
11831182

11841183
.. method:: assertNoLogs(logger=None, level=None)
11851184

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ unittest
296296

297297
* Lets users specify formatter in TestCase.assertLogs.
298298
:func:`unittest.TestCase.assertLogs` will now accept a formatter
299-
argument so your assertions can match a custom format where you are using one.
299+
to control how messages are formatted.
300300
(Contributed by Garry Cairns in :gh:`134567`.)
301301

302302

0 commit comments

Comments
 (0)