Files
pytest2/_pytest
Guyzmo accd962c9f Fixed issue shadowing error when missing argument on teardown_method
When the method argument is missing on teardown_method, the traceback is
100% internal to pytest, which with default options get pruned. Then
that traceback is empty, leading to a new exception as a traceback shall
not be empty.

This PR fixes that issue by pushing back the last stack on the
traceback, when the stacktrace is empty after pruning. Then the output
is still pruned, but gives meaningful information with the item where it
failed on the stack.

* fixes issue #1604

Signed-off-by: Guyzmo <guyzmo+github@m0g.net>
2016-06-12 03:45:24 +02:00
..
2015-12-25 17:51:55 -02:00
2016-05-23 20:41:47 -03:00
2016-05-05 11:29:05 -07:00
2016-04-01 13:10:05 -04:00
2016-01-22 18:32:45 -02:00
2016-01-25 23:18:04 -02:00
2016-01-25 23:18:04 -02:00
2016-01-25 23:18:04 -02:00