[py-dev] py.test tracing within generators

Jan Balster jan at balster.info
Sat Oct 22 11:44:24 CEST 2005


François Pinard wrote:
> Hi, people.

Hi François,

can you provide a test case, in which you need this additional information, and
what you want to see in the error report?
The stack trace includes an indication about which line is active within the
generator, if you want to see the variables you can use the --showlocals option
of py.test.
Or do you want py.test to reinterpret the executed line in the generator, like
it is done with the assert statement?

cheers,
Jan





More information about the Pytest-dev mailing list