From 4645e48a2c69ef009f3743dd79b6547aee46b9ad Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 15 Oct 2026 02:55:39 +0000 Subject: [PATCH] Test fixture: give fake backend mock halo table pointers step() reads _dst/_src before the launch; without them the failed-launch test raised AttributeError instead of the intended RuntimeError. Co-Authored-By: Claude Opus 5.5 --- tests/validation/multigrid/test_block_stepper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/validation/multigrid/test_block_stepper.py b/tests/validation/multigrid/test_block_stepper.py index c16584c..4b1a015 100644 --- a/tests/validation/multigrid/test_block_stepper.py +++ b/tests/validation/multigrid/test_block_stepper.py @@ -115,6 +115,7 @@ class CpuContracts(unittest.TestCase): backend._status = "ready" backend._stream = Mock() backend._copy = backend._step = Mock() + backend._dst, backend._src = Mock(), Mock() backend._block, backend._grid, backend._copy_grid = (32, 1, 1), (1, 1, 1), (1, 1) backend._allocations = [Mock(), Mock()] backend._current, backend._spare = backend._allocations