Skip to content

Commit 85509f6

Browse files
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent a54e693 commit 85509f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/unittest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,7 +1313,7 @@ Test cases
13131313
.. method:: assertStartsWith(s, prefix, msg=None)
13141314
.. method:: assertNotStartsWith(s, prefix, msg=None)
13151315

1316-
Test that the unicode or byte string *s* starts (or does not start)
1316+
Test that the Unicode or byte string *s* starts (or does not start)
13171317
with a *prefix*.
13181318
*prefix* can also be a tuple of strings to try.
13191319

@@ -1322,7 +1322,7 @@ Test cases
13221322
.. method:: assertEndsWith(s, suffix, msg=None)
13231323
.. method:: assertNotEndsWith(s, suffix, msg=None)
13241324

1325-
Test that the unicode or byte string *s* ends (or does not end)
1325+
Test that the Unicode or byte string *s* ends (or does not end)
13261326
with a *suffix*.
13271327
*suffix* can also be a tuple of strings to try.
13281328

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ unittest
682682
- :meth:`~unittest.TestCase.assertStartsWith`,
683683
:meth:`~unittest.TestCase.assertNotStartsWith`,
684684
:meth:`~unittest.TestCase.assertEndsWith` and
685-
:meth:`~unittest.TestCase.assertNotEndsWith` check whether the unicode
685+
:meth:`~unittest.TestCase.assertNotEndsWith` check whether the Unicode
686686
or byte string starts or ends with particular string(s).
687687

688688
(Contributed by Serhiy Storchaka in :gh:`71339`.)

0 commit comments

Comments
 (0)