From 50213904e863b422ae5b768f88bc364982c8389e Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Tue, 9 Sep 2025 23:48:13 +0000 Subject: [PATCH] Apply patch [skip ci] --- libs/core/tests/unit_tests/runnables/test_batch_ordering.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/core/tests/unit_tests/runnables/test_batch_ordering.py b/libs/core/tests/unit_tests/runnables/test_batch_ordering.py index 600ace43616..eb1b8d2f5b4 100644 --- a/libs/core/tests/unit_tests/runnables/test_batch_ordering.py +++ b/libs/core/tests/unit_tests/runnables/test_batch_ordering.py @@ -256,7 +256,6 @@ def test_batch_no_race_conditions() -> None: def test_batch_with_varying_processing_times() -> None: """Test that batch preserves order even with varying processing times.""" - import random class VariableDelayRunnable(Runnable[str, str]): """A runnable with variable processing delays.""" @@ -264,6 +263,7 @@ def test_batch_with_varying_processing_times() -> None: def invoke( self, input: str, config: Optional[RunnableConfig] = None, **kwargs: Any ) -> str: + del config, kwargs # Unused but required by interface # Random delay to simulate varying processing times delay = random.uniform(0.001, 0.01) time.sleep(delay) @@ -313,3 +313,4 @@ if __name__ == "__main__": +