1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
# This sample was generated for the following code mutation detected by mutmut:
#
# --- executing/_position_node_finder.py
# +++ executing/_position_node_finder.py
# @@ -242,7 +242,7 @@
# # TODO: investigate
# raise KnownIssue("pattern matching ranges seems to be wrong")
#
# - if instruction.opname == "STORE_NAME" and instruction.argval == "__classcell__":
# + if instruction.opname == "STORE_NAME" or instruction.argval == "__classcell__":
# # handle stores to __classcell__ as KnownIssue,
# # because they get complicated if they are used in `if` or `for` loops
# # example:
#
CodeInfo = namedtuple
|