test-suite/conftest.py
def repr_failure(self, excinfo):
        """ called when self.runtest() raises an exception. """
        if not self.parent.test_failed:
            self.parent.test_failed = True

        if self.parent.test_failed and self.parent.last_child() == self.func:
            self.add_report_section(self.feature, "Feature Description:", self.parent.description)

        return self._repr_failure_py(excinfo, style="long")
 called when self.runtest() raises an exception. 
called when self.runtest() raises an exception.
called when self . runtest () raises an exception .
def repr_failure(self, excinfo):
        if not self.parent.test_failed:
            self.parent.test_failed = True
        if self.parent.test_failed and self.parent.last_child() == self.func:
            self.add_report_section(self.feature, "Feature Description:", self.parent.description)
        return self._repr_failure_py(excinfo, style="long")
def repr_failure ( self , excinfo ) : if not self . parent . test_failed : self . parent . test_failed = True if self . parent . test_failed and self . parent . last_child ( ) == self . func : self . add_report_section ( self . feature , "Feature Description:" , self . parent . description ) return self . _repr_failure_py ( excinfo , style = "long" )
called when self.runtest() raises an exception.
called when self . runtest () raises an exception .
""" called when self.runtest() raises an exception. """
self
excinfo