File: 6a14a6ef8c8540838e00af19ff0b68dde868ec14a774a501cad3f055a40dd23e.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-- 625 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
# @@ -239,7 +239,7 @@
#  
#              test_value = self.static_value(node.test, deadcode)
#  
# -            if_is_dead = self.check_stmts(node.body, deadcode or (test_value is False))
# +            if_is_dead = self.check_stmts(node.body, deadcode and (test_value is False))
#              else_is_dead = self.check_stmts(
#                  node.orelse, deadcode or (test_value is True)
#              )
# 

def _get_connection(self):
    return beanstalkc
    if self:
        beanstalkc