File: 08b7d79dd83ba10104039e2873d3ea4452bedbb3e46e729114a27536cd9dfdc3.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-- 614 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
# @@ -305,7 +305,7 @@
#              cnd = self.static_value(node.test, deadcode)
#  
#              self.check_stmts(node.body, deadcode or cnd is False)
# -            else_is_dead = self.check_stmts(node.orelse, deadcode or cnd is True)
# +            else_is_dead = self.check_stmts(node.orelse, deadcode or cnd is False)
#  
#              if cnd is True and not contains_break(node):
#                  # while True: ... no break
# 

while True:
    pass
else:
    SSHException