File: 4ac35edc8adbe59cee1c11080c0e7d458fa5f2144a3f3bc1919e8722d6949780.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 (17 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -99,7 +99,7 @@
#                      node.__static_value = node.body.__static_value
#  
#                  elif cnd is False:
# -                    node.__static_value = node.orelse.__static_value
# +                    node.__static_value = None
#  
#              elif isinstance(node, ast.BoolOp) and isinstance(node.op, ast.And):
#                  if all(self.static_cnd(n) is True for n in node.values):
# 

if 1 if 0 else a:
    print