File: 339587c1bea1dae03e45ad87a1c245a4e7a3d719968e39e572cb987ee055ad50.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-- 566 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:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -337,7 +337,7 @@
#          elif isinstance(node, ast.BoolOp) and isinstance(node.op, ast.And):
#              dead_op = deadcode
#              for v in node.values:
# -                if self.static_value(v, dead_op) is False:
# +                if self.static_value(v, dead_op) is True:
#                      dead_op = True
#  
#          elif isinstance(node, ast.BoolOp) and isinstance(node.op, ast.Or):
# 

print(0 and foo)