File: 5182c37c0eb2a1b7402d1c3fc623d4e57106429cc932cce07630fc07781e4167.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 (19 lines) | stat: -rw-r--r-- 513 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
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -246,7 +246,7 @@
#  
#              self.walk_deadcode(node.test, deadcode)
#  
# -            deadcode = if_is_dead and else_is_dead
# +            deadcode = if_is_dead or else_is_dead
#  
#          elif isinstance(node, ast.Match):
#              self.walk_deadcode(node.subject, deadcode)
# 

def before_stmt(self, node, frame):
    if frame:
        return
    isinstance