Skip to content

Commit effef53

Browse files
authored
Try covering everything
1 parent 00c1ee8 commit effef53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/trio/_tests/test_subprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,8 @@ async def test_shells_killed_by_default() -> None:
812812
assert "Z" in line
813813
hit_zombie = True
814814

815-
if hit_zombie:
816-
raise FileNotFoundError
815+
assert hit_zombie
816+
raise FileNotFoundError
817817
else:
818818
with pytest.raises(OSError, match="No such process"):
819819
os.kill(child_pid, 0)

0 commit comments

Comments
 (0)