From 86030ee64540196d61a54667275e56dd74ed0fda Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 7 May 2009 15:44:56 +0200 Subject: [PATCH] fix docstring --HG-- branch : trunk --- py/test/pycollect.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py/test/pycollect.py b/py/test/pycollect.py index 0e21c4d9e..f2e29b153 100644 --- a/py/test/pycollect.py +++ b/py/test/pycollect.py @@ -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 = {}