[py-dev] [pypy-dev] py.test bug

Maciek Fijalkowski fijal at genesilico.pl
Sun Oct 8 22:55:44 CEST 2006


Simon Burton wrote:

>Traceback (most recent call last):
>  File "/home/simon/bin/py.test", line 4, in ?
>    py.test.cmdline.main()
>  File "/home/simon/local/pypy/py/test/cmdline.py", line 17, in main
>    failures = session.main(args)
>  File "/home/simon/local/pypy/py/test/terminal/terminal.py", line 34, in main
>    return super(TerminalSession, self).main(args)
>  File "/home/simon/local/pypy/py/test/session.py", line 52, in main
>    self.footer(colitems)
>  File "/home/simon/local/pypy/py/test/terminal/terminal.py", line 167, in footer
>    self.failures()
>  File "/home/simon/local/pypy/py/test/terminal/terminal.py", line 262, in failures
>    self.repr_failure(colitem, outcome)
>  File "/home/simon/local/pypy/py/test/terminal/terminal.py", line 280, in repr_failure
>    handler(item, excinfo, traceback)
>  File "/home/simon/local/pypy/py/test/terminal/terminal.py", line 297, in repr_failure_tblong
>    firstsourceline = entry.getfirstlinesource()
>AttributeError: 'TracebackEntry' object has no attribute 'getfirstlinesource'
>
>
>Simon.
>_______________________________________________
>pypy-dev at codespeak.net
>http://codespeak.net/mailman/listinfo/pypy-dev
>  
>
You seem to have old version of py.test. Please update to svn trunk.




More information about the Pytest-dev mailing list