Skip to content

Commit 592a356

Browse files
[3.15] gh-149663: fix typo in unittest docs (GH-149670) (#149672)
gh-149663: fix typo in `unittest` docs (GH-149670) `hastattr` -> `hasattr` (cherry picked from commit 4956d2b) Co-authored-by: Árni Már Jónsson <arnimarj@gmail.com>
1 parent 4277df2 commit 592a356

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/unittest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,10 +1262,10 @@ Test cases
12621262
| :meth:`assertNotEndsWith(a, b) | ``not a.endswith(b)`` | 3.14 |
12631263
| <TestCase.assertNotEndsWith>` | | |
12641264
+---------------------------------------+--------------------------------+--------------+
1265-
| :meth:`assertHasAttr(a, b) | ``hastattr(a, b)`` | 3.14 |
1265+
| :meth:`assertHasAttr(a, b) | ``hasattr(a, b)`` | 3.14 |
12661266
| <TestCase.assertHasAttr>` | | |
12671267
+---------------------------------------+--------------------------------+--------------+
1268-
| :meth:`assertNotHasAttr(a, b) | ``not hastattr(a, b)`` | 3.14 |
1268+
| :meth:`assertNotHasAttr(a, b) | ``not hasattr(a, b)`` | 3.14 |
12691269
| <TestCase.assertNotHasAttr>` | | |
12701270
+---------------------------------------+--------------------------------+--------------+
12711271

0 commit comments

Comments
 (0)