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

while True:
    node