浏览代码

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