File: a6428177defd48080b32b7b570aa729067b9c8044821dbbb787cce7fb3999e73.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 (18 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This sample was generated for the following code mutation detected by mutmut:
# 
# --- tests/deadcode.py
# +++ tests/deadcode.py
# @@ -307,7 +307,7 @@
#              self.check_stmts(node.body, deadcode or cnd is False)
#              else_is_dead = self.check_stmts(node.orelse, deadcode or cnd is True)
#  
# -            if cnd is True and not contains_break(node):
# +            if cnd is False and not contains_break(node):
#                  # while True: ... no break
#                  deadcode = True
#  
# 

while 0:
    pass
x = 0