Re: [pytest-dev] Disabling timeout for pdb

2014-09-14 Thread holger krekel
Hi Wolfgang, Bruno, On Sat, Sep 13, 2014 at 15:53 -0300, Bruno Oliveira wrote: Hi, 1. Am I missing something or does pytest indeed completely seal off its internals? Not really, you can access _pytest module directly: import _pytest.pdb _pytest.pdb.pytestPDB class

Re: [pytest-dev] Disabling timeout for pdb

2014-09-14 Thread Bruno Oliveira
Hi, What we probabl need is a new hook, pytest_enter_pdb maybe, which pytest-timeout can implement to switch off timeout handling. pytest would call this hook in the pdb.set_trace() interception code around _pytest/pdb.py:34. I like this idea, seems simple enough to implement. :) Cheers,