From a4634bca67b0804c9a680d9ee31ef35262cc8be0 Mon Sep 17 00:00:00 2001 From: rootile Date: Tue, 9 Jun 2026 18:03:41 +0200 Subject: [PATCH] feat(f2/repl): allow should_fail to have repl input So apparently we can still use the repl if the input file fails, as long as we have the debugger enabled. This Commit removes the "only one output block for should_fails" requirement to allow this behavior Change-Id: I02568c8d7e4305ab6414953306650bbe13c6f4bc --- tests/functional2/testlib/repl_util.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/functional2/testlib/repl_util.py b/tests/functional2/testlib/repl_util.py index ee9cb0f0a..543683ade 100644 --- a/tests/functional2/testlib/repl_util.py +++ b/tests/functional2/testlib/repl_util.py @@ -176,8 +176,6 @@ class ReplTest: def _output_to_blocks(self, output: str) -> tuple[str, list[tuple[str, ReplTestBlock]]]: output = output.split("\x05") start, *output = output - if self.metadata.should_fail: - return (start, []) blocks = [] for block in self.blocks: