File: 69bd4dd67f6d3737f72f314978488dfedd5e8071b45a2648757451ac47bf1b33.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 (20 lines) | stat: -rw-r--r-- 524 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
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -6,7 +6,7 @@
#      "search all child nodes except other loops for a break statement"
#  
#      if isinstance(node_or_list, ast.AST):
# -        childs = ast.iter_child_nodes(node_or_list)
# +        childs = None
#      elif isinstance(node_or_list, list):
#          childs = node_or_list
#      else:
# 

with self:
    for _ in tester:
        pass
    else:
        raise ValueError