Преглед на файлове

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.backoff = 0
             self.exitstatus = es
             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
                 # happens, but in the wild, there is a transition that
                 # subverts the RUNNING state (directly from STARTING
                 # subverts the RUNNING state (directly from STARTING
                 # to EXITED), so we perform the correct transition
                 # to EXITED), so we perform the correct transition