simplify internal plugin dispatching code, rename parts of the py._com plugin helpers

--HG--
branch : 1.0.x
This commit is contained in:
holger krekel
2009-08-09 23:51:25 +02:00
parent 5c8df1d4ca
commit a01e4769cc
16 changed files with 137 additions and 173 deletions

View File

@@ -35,7 +35,7 @@ class Execnetcleanup:
def pytest_pyfunc_call(self, __call__, pyfuncitem):
if self._gateways is not None:
gateways = self._gateways[:]
res = __call__.execute(firstresult=True)
res = __call__.execute()
while len(self._gateways) > len(gateways):
self._gateways[-1].exit()
return res