[py-dev] [hpk42/pytest] on python2 we need to call sys.exc_clear or sys.exc_info will stay what it was from the last exception (issue #188)

Ronny Pfannschmidt issues-reply at bitbucket.org
Sat Sep 15 14:57:40 CEST 2012


--- you can reply above this line ---

New issue 188: on python2 we need to call sys.exc_clear or sys.exc_info will stay what it was from the last exception
https://bitbucket.org/hpk42/pytest/issue/188/on-python2-we-need-to-call-sysexc_clear-or

Ronny Pfannschmidt:

this surprised me when testing pdbmm post mortem - and the last test has sys.exc_info being the IndexError of nextitem finding


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the Pytest-dev mailing list