Anatomy of a Two-Day Pytest Debugging Loop
TL;DR
A backend test suite started "hanging" at 99% completion. Two days later, with help from py-spy, pytest-timeout, and a JUnit XML report, we found four root causes — three real test failures and
jvertrees.hashnode.dev13 min read