[py-dev] quick poll: collection errors and --pdb

Carl Friedrich Bolz cfbolz at gmx.de
Mon Jun 14 15:21:39 CEST 2010


Hi Holger,

On 06/14/2010 03:18 PM, holger krekel wrote:
> related to the below issue: did you miss being able to say "--pdb"
> on collection errors (import errors, syntax errors, errors during
> code-execution-at-import time)?   Or the other way round: would you
> mind if it did also enter the PDB prompt in that case?

I probably wouldn't mind, but I don't remember ever needing this.

While we are talking about --pdb: what kind of bugs me is that xfailing 
tests drop into a debugger when they fail. I already *know* about this 
failure, so usually I don't want that.

Cheers,

Carl Friedrich



More information about the Pytest-dev mailing list