method: test.TerminalSession.repr_failure_info

*Not documented*
    def repr_failure_info(self, item, entry): 

origin: test.TerminalSession

where:

function source:

def repr_failure_info(self, item, entry): 
    root = item.fspath 
    modpath = item.getmodpath() 
    try: 
        fn, lineno = item.getpathlineno() 
    except TypeError: 
        assert isinstance(item.parent, py.test.collect.Generator) 
        # a generative test yielded a non-callable 
        fn, lineno = item.parent.getpathlineno() 
    # hum, the following overloads traceback output 
    #if fn != entry.frame.code.path or \
    #   entry.frame.code.firstlineno != lineno: 
    #    self.out.line("testcode: %s:%d" % (fn, lineno+1)) 
    if root == fn: 
        self.out.sep("_", "entrypoint: %s" %(modpath))
    else:
        self.out.sep("_", "entrypoint: %s %s" %(root.basename, modpath))

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.0

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.1

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.2

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.3

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.4

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.5

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.6

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.7

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.8

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.9

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.10

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.11

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.12

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.13

called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py

traceback test.TerminalSession.repr_failure_info.14