[svn r62611] yay, the global setupstate died. I guess what kept me from doing that
was all kinds of tests breaking. but they are cleaned up now. so there was no problem. nice. --HG-- branch : trunk
This commit is contained in:
@@ -289,7 +289,7 @@ class Generator(FunctionMixin, PyCollectorMixin, py.test.collect.Collector):
|
||||
# test generators are collectors yet participate in
|
||||
# the test-item setup and teardown protocol.
|
||||
# otherwise we could avoid global setupstate
|
||||
self._setupstate.prepare(self)
|
||||
self._config._setupstate.prepare(self)
|
||||
l = []
|
||||
for i, x in py.builtin.enumerate(self.obj()):
|
||||
name, call, args = self.getcallargs(x)
|
||||
|
||||
Reference in New Issue
Block a user