File: 9f0ed8b1be98c481ba17f3f3fa0442cc67ae5730f8e854e23e3f3147f9bc5e8b.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-- 576 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
# @@ -240,9 +240,7 @@
#              test_value = self.static_value(node.test, deadcode)
#  
#              if_is_dead = self.check_stmts(node.body, deadcode or (test_value is False))
# -            else_is_dead = self.check_stmts(
# -                node.orelse, deadcode or (test_value is True)
# -            )
# +            else_is_dead = None
#  
#              self.walk_deadcode(node.test, deadcode)
#  
# 

if i:
    pass
else:
    loop