[py-svn] r56631 - py/branch/event/py/test2
hpk at codespeak.net
hpk at codespeak.net
Fri Jul 18 09:42:04 CEST 2008
Author: hpk
Date: Fri Jul 18 09:41:53 2008
New Revision: 56631
Modified:
py/branch/event/py/test2/present.py
Log:
small renaming
Modified: py/branch/event/py/test2/present.py
==============================================================================
--- py/branch/event/py/test2/present.py (original)
+++ py/branch/event/py/test2/present.py Fri Jul 18 09:41:53 2008
@@ -19,7 +19,7 @@
style=config.option.tbstyle,
)
- def repr_header(self):
+ def header(self):
item = self._item
modpath = getmodpath(item)
self.out.sep("_", "entrypoint: %s" %(modpath))
@@ -31,7 +31,7 @@
item.obj.__name__, args)
self.out.line(line)
- def repr_footer(self):
+ def footer(self):
colitem = self._item
# XXX io capturing is stored with the itemtestreport
for parent in colitem.listchain():
@@ -42,7 +42,7 @@
self.out.line(obj)
def repr_failure(self, excinfo):
- self.repr_header()
+ self.header()
excinfo.traceback = self._item.prunetraceback(excinfo.traceback)
self.repr_tb(excinfo)
- self.repr_footer()
+ self.footer()
More information about the pytest-commit
mailing list