[py-svn] r51680 - py/branch/event/py/test2
hpk at codespeak.net
hpk at codespeak.net
Wed Feb 20 11:59:14 CET 2008
Author: hpk
Date: Wed Feb 20 11:59:14 2008
New Revision: 51680
Modified:
py/branch/event/py/test2/executor.py
Log:
one less method named "run".
Modified: py/branch/event/py/test2/executor.py
==============================================================================
--- py/branch/event/py/test2/executor.py (original)
+++ py/branch/event/py/test2/executor.py Wed Feb 20 11:59:14 2008
@@ -24,7 +24,7 @@
self.config.bus.notify(testrep)
return testrep
- def run(self):
+ def runitem(self):
capture = self.config._getcapture(path=self.item.fspath)
try:
self.item.run()
@@ -45,7 +45,7 @@
def execute(self):
try:
- self.run()
+ self.runitem()
except sysex:
raise
except:
@@ -106,7 +106,7 @@
super(ApigenExecutor, self).__init__(item, config)
self.tracer = tracer
- def run(self):
+ def runitem(self):
# only trace Python Function items
if hasattr(self.item, 'obj') and isinstance(self.item, py.test2.collect.Function):
orig_exec = self.item.execute
@@ -118,7 +118,7 @@
self.tracer.end_tracing()
self.item.execute = traced_exec
try:
- super(ApigenExecutor, self).run()
+ super(ApigenExecutor, self).runitem()
finally:
self.item.execute = orig_exec
More information about the py-svn
mailing list