From 21fe71d332e1277177969ac8ad03676b6aea6687 Mon Sep 17 00:00:00 2001 From: Frank14f <1515444314@qq.com> Date: Mon, 26 Oct 2026 22:36:15 +0800 Subject: [PATCH] test: target build_module in remap construction fault injection --- tests/unit/test_runtime_child_remap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_runtime_child_remap.py b/tests/unit/test_runtime_child_remap.py index 4bd3492..5c9a825 100644 --- a/tests/unit/test_runtime_child_remap.py +++ b/tests/unit/test_runtime_child_remap.py @@ -86,7 +86,7 @@ class RuntimeChildRemap(unittest.TestCase): before = run.download() old_allocations = list(allocations) if failure == 'construction': - operation = patch.object(module.compiler, 'compile_kernel', side_effect=RuntimeError('candidate compile')) + operation = patch.object(module.compiler, 'build_module', side_effect=RuntimeError('candidate compile')) else: initialize = type(run).initialize def fail(candidate, *arrays):