fix docstring

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-05-07 15:44:56 +02:00
parent 0de4a13623
commit 86030ee645
1 changed files with 3 additions and 3 deletions

View File

@ -279,9 +279,9 @@ class FunctionMixin(PyobjMixin):
class Generator(FunctionMixin, PyCollectorMixin, py.test.collect.Collector):
def collect(self):
# test generators are collectors yet participate in
# the test-item setup and teardown protocol.
# otherwise we could avoid global setupstate
# test generators are seen as collectors but they also
# invoke setup/teardown on popular request
# (induced by the common "test_*" naming shared with normal tests)
self.config._setupstate.prepare(self)
l = []
seen = {}