[issue11468] Improve unittest basic example in the doc

Ezio Melotti report at bugs.python.org
Wed Mar 18 20:13:00 CET 2015


Ezio Melotti added the comment:

Raymond, in the meanwhile can the proposed patch be applied?
I don't think it's necessary to show that you need to import a module in order to test its functions.  Using modules also has the disadvantage that people might not know what result to expect if they are not familiar with the functions of that module (e.g. the only functions that return True/False in the math module seem to be isfinite/isnan/isinf), whereas everyone should know basic string methods.

----------

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


More information about the Python-bugs-list mailing list