Pārlūkot izejas kodu

dont bother covering this corner case

Conflicts:
	supervisor/process.py
Chris McDonough 10 gadi atpakaļ
vecāks
revīzija
4069c24d4a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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