Skip to content

Commit b492349

Browse files
authored
Add pragma: full coverage to Process.is_alive (#2402)
1 parent ce999aa commit b492349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uvicorn/supervisors/multiprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def target(self, sockets: list[socket] | None = None) -> Any: # pragma: no cove
6464

6565
def is_alive(self, timeout: float = 5) -> bool:
6666
if not self.process.is_alive():
67-
return False
67+
return False # pragma: full coverage
6868

6969
return self.ping(timeout)
7070

0 commit comments

Comments
 (0)