[docs] Typos in documentation

Adrian Tirla atirla at kcg.com
Wed May 20 11:31:44 CEST 2015


Hi guys,

I hope you're well.

I was reading the documentation for mocks here:
https://docs.python.org/3.4/library/unittest.mock.html?highlight=mock#module-unittest.mock
http://www.voidspace.org.uk/python/mock/helpers.html#auto-speccing
and I've spotted some typos "assret" instead of "assert".

>>> mock = Mock(name='Thing', return_value=None)
>>> mock(1, 2, 3)
>>> mock.assret_called_once_with(4, 5, 6)

Regards,
Adrian

--
Adrian Tirla
[Description: kcg logo]
KCG Europe Limited
City Place House, 55 Basinghall Street
London, EC2V 5DU
atirla at kcg.com<mailto:atirla at kcg.com>
www.kcg.com<http://www.kcg.com>
+44 (0)20 7997 7876


KCG Europe Limited is authorized and regulated by the Financial Conduct Authority. Registered Office 55 Basinghall Street, London, EC2V 5DU. Registered in England & Wales No. 03632121

This e-mail and its attachments are intended only for the individual or entity to whom it is addressed and may contain information that is confidential, privileged, inside information, or subject to other restrictions on use or disclosure. Any unauthorized use, dissemination or copying of this transmission or the information in it is prohibited and may be unlawful. If you have received this transmission in error, please notify the sender immediately by return e-mail, and permanently delete or destroy this e-mail, any attachments, and all copies (digital or paper). Unless expressly stated in this e-mail, nothing in this message should be construed as a digital or electronic signature. For additional important disclaimers and disclosures regarding KCG's products and services, please click on the following link:

http://www.kcg.com/legal/global-disclosures
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20150520/c4e3a070/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9320 bytes
Desc: image001.png
URL: <http://mail.python.org/pipermail/docs/attachments/20150520/c4e3a070/attachment.png>


More information about the docs mailing list