[issue11468] Improve unittest basic example in the doc

Raymond Hettinger report at bugs.python.org
Tue May 27 23:48:30 CEST 2014


Raymond Hettinger added the comment:

FWIW, I'm going to test some other module (math or somesuch) rather than the built-in string methods.  The normal use of unittest is to import both the unittest module and the module under test.  I want to show that pattern (which is somewhat different from doctests where the tests are typically in the same file as the code being tested).

----------

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


More information about the Python-bugs-list mailing list