소스 검색

dont bother covering this corner case

Conflicts:
	supervisor/process.py
Chris McDonough 10 년 전
부모
커밋
4069c24d4a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      supervisor/process.py

+ 2 - 2
supervisor/process.py

@@ -472,8 +472,8 @@ class Subprocess:
             self.backoff = 0
             self.exitstatus = es
 
-            if self.state == ProcessStates.STARTING:
-                # XXX I dont know under which circumstances this
+            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
                 # to EXITED), so we perform the correct transition