Open will-afs opened 11 months ago
pycharm probably changed things. Could you figure out how to update the heuristic to detect the pycharm debugger and make a PR? https://github.com/pytest-dev/pytest-timeout/blob/78cc24f0d91ca24a7448779fcf5c2f22470b6ae4/pytest_timeout.py#L50 is probably the starting point to look at.
I'm afraid I don't have pycharm so rely on its users to keep supporting this.
I am getting the timeout error below when running a test in debug mode with pytest under Pycharm 2023.2.1. This timeout depends on the timeout value pytest is configured with. I am not getting this issue with older versions of Pycharm. So basically, Pycharm does not ignore the timeout in debug mode.
Note: this issue is similar to this one