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
I'm running mutmut 2.4.3 pyhd8ed1ab_0 on Windows. Mutations that lead to infinite loops are freezing the run, seemingly indefinitely (certainly more than 10x the original test run time).
I know it is an infinite loop because I can see the edit being made to one of the source files while the stuck mutation is being tested, and I can avoid it by whitelisting the relevant lines with # pragma: no mutate.
The code is looping over an iterator:
iterator = iter(...)
while True:
value = next(iterator, None)
if value is None:
break
The mutation changes the break to continue. As I understand it, the resulting infinite loop is supposed to trigger a timeout when the test runs more than 10x as long as the original unmutated test run. However that is not happening. As far as I can tell no timeout is triggering at all even after waiting 10 minutes (the original test run takes less a fraction of a second). I have to manually terminate the test run.
The text was updated successfully, but these errors were encountered:
I'm running
mutmut 2.4.3 pyhd8ed1ab_0
on Windows. Mutations that lead to infinite loops are freezing the run, seemingly indefinitely (certainly more than 10x the original test run time).I know it is an infinite loop because I can see the edit being made to one of the source files while the stuck mutation is being tested, and I can avoid it by whitelisting the relevant lines with
# pragma: no mutate
.The code is looping over an iterator:
The mutation changes the
break
tocontinue
. As I understand it, the resulting infinite loop is supposed to trigger a timeout when the test runs more than 10x as long as the original unmutated test run. However that is not happening. As far as I can tell no timeout is triggering at all even after waiting 10 minutes (the original test run takes less a fraction of a second). I have to manually terminate the test run.The text was updated successfully, but these errors were encountered: