File: 227620e1f473c9ac5ccf8328ed28b169c31617f5a4d6302337ce4f83109f745e.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-- 640 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
# @@ -330,7 +330,7 @@
#                  [self.check_stmts(h.body, deadcode) for h in node.handlers]
#              )
#              else_dead = self.check_stmts(node.orelse, try_dead)
# -            final_dead = self.check_stmts(node.finalbody, deadcode)
# +            final_dead = None
#  
#              deadcode = (handlers_dead and else_dead) or final_dead
#  
# 

def exec_ipython_cell():
    try:
        shell.ex(traced_file.code)
        return self._ipython_cell_value
    finally:
        callback