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

Ned Batchelder report at bugs.python.org
Wed Dec 11 00:00:59 CET 2013


Ned Batchelder added the comment:

This sentence seems to cover it: "Each instance of the TestCase will only be used to run a single test method, so a new fixture is created for each test."  from http://docs.python.org/2/library/unittest.html

The word "fixture" here is being used oddly, but that's the sentence.

----------
nosy: +nedbat

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


More information about the docs mailing list