*Not documented*
def teardown(self):
origin: test.Function
where:
function source:
def teardown(self):
if getattr(self.obj, 'im_self', None):
name = 'teardown_method'
else:
name = 'teardown_function'
obj = self.parent.obj
meth = getattr(obj, name, None)
if meth is not None:
return meth(self.obj)
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.0
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.1
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.2
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.3
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.4
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.5
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.6
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.7
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.8
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.9
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.10
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.11
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.12
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.13
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.14
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.15
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.16
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.17
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.18
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py
traceback test.Function.teardown.19
called in /home/johnny/projects/merlinux/py/dist/py/test/item.py