File: 2ab181c0e2d4978b1dc22cb8d9a4ed3e2bc6df02267f9766dfe1e8ee7924ff7c.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 (37 lines) | stat: -rw-r--r-- 1,079 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -36,27 +36,7 @@
#      def __init__(self):
#          self.future_annotations = False
#  
# -    operator_map = {
# -        # binary
# -        ast.Add: operator.add,
# -        ast.Sub: operator.sub,
# -        ast.Mult: operator.mul,
# -        ast.Div: operator.truediv,
# -        ast.FloorDiv: operator.floordiv,
# -        ast.Mod: operator.mod,
# -        ast.Pow: operator.pow,
# -        ast.LShift: operator.lshift,
# -        ast.RShift: operator.rshift,
# -        ast.BitOr: operator.or_,
# -        ast.BitXor: operator.xor,
# -        ast.BitAnd: operator.and_,
# -        ast.MatMult: operator.matmul,
# -        # unary
# -        ast.UAdd: operator.pos,
# -        ast.USub: operator.neg,
# -        ast.Not: operator.not_,
# -        ast.Invert: operator.invert,
# -    }
# +    operator_map = None
#  
#      def annotate_static_values(self, node):
#          for n in ast.iter_child_nodes(node):
# 

if not 'a':
    print