Skip to content

Commit

Permalink
Mutate break to return to avoid timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed committed Oct 27, 2024
1 parent de5a22c commit 5820430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mutmut/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def keyword_mutation(value, context, **_):
'not': '',
'is': 'is not', # this will cause "is not not" sometimes, so there's a hack to fix that later
'in': 'not in',
'break': 'continue',
'break': 'return',
'continue': 'break',
'True': 'False',
'False': 'True',
Expand Down

0 comments on commit 5820430

Please sign in to comment.