Commit 2bd9645
committed
disable timeouts when debugger is active
pytest-dev/pytest-asyncio#216 (comment)
> The PR is not complete until timeout disabling on debugging is
> implemented, as in pytest-timeout.
> Otherwise, any tests debug session ends with TimeoutError quickly.
> I'm not sure is it worth to copy-paste the whole implementation
> from pytest-timeout plugin?
> Maybe adding timeout_setup()/timeout_teardown() hooks for
> implementing them in pytest-asyncio makes the code easier and stablier?
> Should take time for experimenting.
> - asvetlov1 parent b2ea526 commit 2bd9645
1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | 64 | | |
59 | 65 | | |
| |||
0 commit comments