File: 81aed400e9ebc64f9f1f6d0fdaf6ccaefd81736d54d180db3c5a1b2aeb72fb6f.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 (21 lines) | stat: -rw-r--r-- 617 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
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -329,7 +329,7 @@
#              handlers_dead = all(
#                  [self.check_stmts(h.body, deadcode) for h in node.handlers]
#              )
# -            else_dead = self.check_stmts(node.orelse, try_dead)
# +            else_dead = None
#              final_dead = self.check_stmts(node.finalbody, deadcode)
#  
#              deadcode = (handlers_dead and else_dead) or final_dead
# 

try:
    length = len(val)
except:
    pass
else:
    result.set_meta('len', length)