[issue26950] Typo in unittest.mock > Autospeccing documentation

2016-05-04 Thread Joni Bekenstein
Joni Bekenstein added the comment: My bad, didn't see the notice! Makes sense though. Sorry for opening an issue. -- ___ Python tracker ___ __

[issue26950] Typo in unittest.mock > Autospeccing documentation

2016-05-04 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report, but the typos are intentional. Quoting from the documentation: [...] if you misspell one of these assert methods then your assertion is gone: >>> mock = Mock(name='Thing', return_value=None) >>> mock(1, 2, 3) >>> mock.ass

[issue26950] Typo in unittest.mock > Autospeccing documentation

2016-05-04 Thread Joni Bekenstein
New submission from Joni Bekenstein: In several code examples from unittest.mock > Autospeccing documentation you will find "assret_called_with" instead of "assert_called_with". -- assignee: docs@python components: Documentation messages: 264815 nosy: Joni Bekenstein, docs@python priori