You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# [debugging flaky cascading failure after upgrading pytest!](https://youtu.be/zyZXdvJgGPM)
2
+
3
+
another deep dive debugging session! I utilize a dirty bisect to figure out what introduced the behaviour. from there test pollution helped me find a reproduction and then I isolated what was interfering and utilized a new technique to find _why_!
4
+
5
+
## Setup commands
6
+
7
+
```bash
8
+
git clone git@github.com:pytest-dev/pytest
9
+
git clone git@github.com:getsentry/sentry
10
+
```
11
+
12
+
## Interactive examples
13
+
14
+
### Python
15
+
16
+
```python
17
+
import sys
18
+
import pytest
19
+
20
+
21
+
@pytest.fixture(autouse=True, scope='session')
22
+
defsettrace():
23
+
withopen(f'trace.{os.getpid()}', 'a+') as f:
24
+
deftracefunc(frame, event, arg):
25
+
if (
26
+
event =='call'and
27
+
'/new_migrations/monkey/'notin frame.f_code.co_filename and
0 commit comments