File: 4fb0f58b18c1b1484aec340e1a7ab7cdc87185a067ee37a73f05eb1a1d08bb11.py

package info (click to toggle)
python-executing 2.2.0-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,860 kB
  • sloc: python: 10,235; sh: 48; makefile: 10
file content (16 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
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