We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2af91b2 commit 307820fCopy full SHA for 307820f
tests/conftest.py
@@ -79,6 +79,7 @@ def pytest_addoption(parser):
79
80
81
def debug(sig, frame):
82
+ print('Dumping thread info')
83
with open('/tmp/python-dump.txt', 'w') as f:
84
try:
85
for thr in threading.enumerate():
@@ -87,6 +88,7 @@ def debug(sig, frame):
87
88
traceback.print_stack(sys._current_frames()[thr.ident], file=f)
89
f.write('\n\n')
90
except Exception as ex:
91
+ logger.exception('Failed to dump thread info')
92
f.write(str(ex))
93
94
0 commit comments