From 84a8ac3772bbc1af78021e42aaa17100e55b4f5e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 22 Aug 2026 14:54:24 -0500 Subject: [PATCH] Use a docstring instead of pass in the to_code test stub --- tests/unit_tests/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/test_main.py b/tests/unit_tests/test_main.py index a47edb2ece..a65492a602 100644 --- a/tests/unit_tests/test_main.py +++ b/tests/unit_tests/test_main.py @@ -7202,7 +7202,7 @@ async def test_wrap_to_code_comment_is_insertion_order_independent() -> None: comments: list[str] = [] async def to_code(conf): - pass + """Accept any config; only the wrapper's comment output matters.""" comp = SimpleNamespace(to_code=to_code, config_schema=object()) wrapped = _wrap_to_code("demo", comp, yaml_util)