[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-06 Thread miss-islington
miss-islington added the comment: New changeset 770780e63e2a99f842670ef901a257ba64293d6b by Miss Islington (bot) in branch '3.9': bpo-47235: Note where a typo is intentional in code. (GH-32348) https://github.com/python/cpython/commit/770780e63e2a99f842670ef901a257ba64293d6b --

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-06 Thread miss-islington
miss-islington added the comment: New changeset 3856b4995ec0e632d47b733cdecb5183ac830568 by Miss Islington (bot) in branch '3.10': bpo-47235: Note where a typo is intentional in code. (GH-32348) https://github.com/python/cpython/commit/3856b4995ec0e632d47b733cdecb5183ac830568 --

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-06 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.8 ___ Python tracker ___

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +30416 pull_request: https://github.com/python/cpython/pull/32368 ___ Python tracker ___

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-06 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset ac1fb07b6ecb6b93446484f52894914e5199de63 by Gregory P. Smith in branch 'main': bpo-47235: Note where a typo is intentional in code. (GH-32348) https://github.com/python/cpython/commit/ac1fb07b6ecb6b93446484f52894914e5199de63 --

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +30415 pull_request: https://github.com/python/cpython/pull/32367 ___ Python tracker

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-05 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +30401 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/32348 ___ Python tracker

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: LOL... we didn't anticipate this happening when adding the commonly found typo detection feature. -- assignee: docs@python -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker

[issue47235] Clarify that `assret_called_once_with` sample code is intended typo

2022-04-05 Thread Mariatta
New submission from Mariatta : In unittest.mock documentation, there is an example code which intentionally contains typo. Source: https://github.com/python/cpython/blame/main/Doc/library/unittest.mock.rst#L2553 We've received quite a number of false "bug report" regarding this text.