File: 82697c5032f0c92b55da4d36c5b7ce2bba016eda66bb1d449e52afe319b447ea.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-- 600 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
# @@ -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 not True)
#  
#              if cnd is True and not contains_break(node):
#                  # while True: ... no break
# 

while context:
    pass
os