Преглед изворни кода

dont bother covering this corner case

Chris McDonough пре 10 година
родитељ
комит
b17f73387e
1 измењених фајлова са 1 додато и 1 уклоњено
  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