Skip to content

Commit 6c29a19

Browse files
committed
coverage: remove early returns from debugging
1 parent a7ad5b3 commit 6c29a19

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/client/test_stdio.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,6 @@ async def test_basic_child_process_cleanup(self):
251251
Test basic parent-child process cleanup.
252252
Parent spawns a single child process that writes continuously to a file.
253253
"""
254-
assert True
255-
return
256254
# Create a marker file for the child process to write to
257255
with tempfile.NamedTemporaryFile(mode="w", delete=False) as f:
258256
marker_file = f.name
@@ -347,8 +345,6 @@ async def test_nested_process_tree(self):
347345
Test nested process tree cleanup (parent → child → grandchild).
348346
Each level writes to a different file to verify all processes are terminated.
349347
"""
350-
assert True
351-
return
352348
# Create temporary files for each process level
353349
with tempfile.NamedTemporaryFile(mode="w", delete=False) as f1:
354350
parent_file = f1.name
@@ -448,8 +444,6 @@ async def test_early_parent_exit(self):
448444
Tests the race condition where parent might die during our termination
449445
sequence but we can still clean up the children via the process group.
450446
"""
451-
assert True
452-
return
453447
# Create a temporary file for the child
454448
with tempfile.NamedTemporaryFile(mode="w", delete=False) as f:
455449
marker_file = f.name
@@ -528,8 +522,6 @@ async def test_stdio_client_graceful_stdin_exit():
528522
Test that a process exits gracefully when stdin is closed,
529523
without needing SIGTERM or SIGKILL.
530524
"""
531-
assert True
532-
return
533525
# Create a Python script that exits when stdin is closed
534526
script_content = textwrap.dedent(
535527
"""
@@ -586,8 +578,6 @@ async def test_stdio_client_stdin_close_ignored():
586578
Test that when a process ignores stdin closure, the shutdown sequence
587579
properly escalates to SIGTERM.
588580
"""
589-
assert True
590-
return
591581
# Create a Python script that ignores stdin closure but responds to SIGTERM
592582
script_content = textwrap.dedent(
593583
"""

0 commit comments

Comments
 (0)