Explorar o código

dont bother covering this corner case

Chris McDonough %!s(int64=11) %!d(string=hai) anos
pai
achega
b17f73387e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      supervisor/process.py

+ 1 - 1
supervisor/process.py

@@ -473,7 +473,7 @@ class Subprocess(object):
             self.backoff = 0
             self.exitstatus = es
 
-            if self.state == ProcessStates.STARTING:
+            if self.state == ProcessStates.STARTING: # pragma: no cover
                 # XXX I don't know under which circumstances this
                 # happens, but in the wild, there is a transition that
                 # subverts the RUNNING state (directly from STARTING