The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(process): trim early-EOF reaper test to its two invariants
teknium1dc4a2aeb1077
diff --git a/tests/tools/test_process_registry.py b/tests/tools/test_process_registry.pyindex 2bae67caef5..9bda3a1656b 100644--- a/tests/tools/test_process_registry.py+++ b/tests/tools/test_process_registry.py@@ -323,13 +323,10 @@ def test_reader_waits_past_early_stdout_eof_before_publishing_completion(registrclass _StillRunningProcess:stdout = _EarlyEofStdout()-- def __init__(self):- self.returncode = None- self.wait_timeouts = []+ returncode = Nonedef wait(self, timeout=None):- self.wait_timeouts.append(timeout)+ # A bounded wait expires: the child outlives its stdout by more than the old 5 s cap.if timeout is not None:raise subprocess.TimeoutExpired("render", timeout)self.returncode = 0@@ -341,7 +338,6 @@ def test_reader_waits_past_early_stdout_eof_before_publishing_completion(registrregistry._reader_loop(session)- assert session.process.wait_timeouts == [None]assert session.exited is Trueassert session.exit_code == 0