File: 91f5b684f56b415a61d211027904e023f2371952602a8d71c17416d8fa3ceed7.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 (19 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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" and instruction.argval == "__classcell__":
#              # handle stores to __classcell__ as KnownIssue,
#              # because they get complicated if they are used in `if` or `for` loops
#              # example:
# 

class BirdsEye:

    def __init__(self, db_uri=None, num_samples=None):
        super