[issue19950] Document that unittest.TestCase.__init__ is called once per test

Claudiu.Popa report at bugs.python.org
Wed Dec 11 09:08:24 CET 2013


Claudiu.Popa added the comment:

How about the following:

"Each instance of the TestCase will only be used to run a single test method from it, so a new instance is created for each test method."


It replaces `fixture` with `instance` and it emphasizes that the called method belongs to that particular TestCase instance.

----------

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


More information about the Python-bugs-list mailing list