[issue28173] Misspelled Assert

2016-09-15 Thread Ethan Furman
Ethan Furman added the comment: The misspelling is intentional. That section is talking about what happens when an "assert_" method is misspelled. -- nosy: +ethan.furman, michael.foord resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue28173] Misspelled Assert

2016-09-15 Thread Chris Rao
New submission from Chris Rao: 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,