Quellcode durchsuchen

dont bother covering this corner case

Conflicts:
	supervisor/process.py
Chris McDonough vor 10 Jahren
Ursprung
Commit
4069c24d4a
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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