From b09011dce7a8b228199f9b8761f2688db55bf73f Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 30 Oct 2026 09:04:38 -0700 Subject: [PATCH] fix(nix): a suite step may call something that returns a value --- nix/tests/vm/lib/komorebi_vm/core/suite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/tests/vm/lib/komorebi_vm/core/suite.py b/nix/tests/vm/lib/komorebi_vm/core/suite.py index 9957909e..190866e2 100644 --- a/nix/tests/vm/lib/komorebi_vm/core/suite.py +++ b/nix/tests/vm/lib/komorebi_vm/core/suite.py @@ -17,15 +17,15 @@ class Step: """A thing to run, and the scope of the checks it makes.""" scope: str - run: Callable[[], None] + run: Callable[[], object] -def shared(scenario: Callable[..., None], *args: object) -> Step: +def shared(scenario: Callable[..., object], *args: object) -> Step: """A scenario of `komorebi_vm.core.scenarios`, called with `args`.""" return Step("shared", lambda: scenario(*args)) -def platform_only(scope: str, extra: Callable[..., None], *args: object) -> Step: +def platform_only(scope: str, extra: Callable[..., object], *args: object) -> Step: """What one platform adds: an extra of that platform, called with `args`, under its name.""" return Step(scope, lambda: extra(*args))