[docs] [issue16751] Using modern unittest asserts in the documentation

Ezio Melotti report at bugs.python.org
Mon Dec 24 09:47:56 CET 2012


Ezio Melotti added the comment:

Raymond, the changes in the "mock" documentation look good to me, and I think they can be applied.

Regarding the basic example in the "unittest" doc, I think the patch attached to #11468 (or something similar) should be applied instead.  That patch uses straight-forward string methods and the basic assertEqual/True/False/Raises.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16751>
_______________________________________


More information about the docs mailing list