[py-svn] r55053 - py/trunk/py/test
hpk at codespeak.net
hpk at codespeak.net
Wed May 21 11:54:34 CEST 2008
Author: hpk
Date: Wed May 21 11:54:33 2008
New Revision: 55053
Modified:
py/trunk/py/test/session.py
Log:
also allow using pdb in failures of the collection process
Modified: py/trunk/py/test/session.py
==============================================================================
--- py/trunk/py/test/session.py (original)
+++ py/trunk/py/test/session.py Wed May 21 11:54:33 2008
@@ -52,6 +52,8 @@
reporter(repevent.SkippedTryiter(excinfo, next))
else:
reporter(repevent.FailedTryiter(excinfo, next))
+ if session.config.option.usepdb:
+ py.__.test.custompdb.post_mortem(excinfo._excinfo[2])
if reporter:
reporter(repevent.ItemFinish(next))
More information about the py-svn
mailing list