Issue 28173: Misspelled Assert - Python tracker (original) (raw)
Issue28173
Created on 2016-09-15 19:10 by Chris Rao, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Messages (2) | ||
|---|---|---|
| msg276596 - (view) | Author: Chris Rao (Chris Rao) | Date: 2016-09-15 19:10 |
| In the second code block in the section on autospeccing in https://docs.python.org/3/library/unittest.mock.html#auto-speccing, assert is spelled as "assret" >>> mock = Mock(name='Thing', return_value=None) >>> mock(1, 2, 3) >>> mock.assret_called_once_with(4, 5, 6) | ||
| msg276601 - (view) | Author: Ethan Furman (ethan.furman) * ![]() |
Date: 2016-09-15 19:17 |
| The misspelling is intentional. That section is talking about what happens when an "assert_" method is misspelled. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:36 | admin | set | github: 72360 |
| 2016-09-15 19:17:50 | ethan.furman | set | status: open -> closednosy: + ethan.furman, michael.foordmessages: + resolution: not a bugstage: resolved |
| 2016-09-15 19:10:15 | Chris Rao | create |
