From 6cbe446304ed5e69364fd6956baa59f3ffc90fc8 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 20 May 2026 01:01:30 +0200 Subject: [PATCH] Modify seemingly useless else clause Its purpose is DSL testing, it cannot be removed without breaking the test. --- tests/ndarray/test_dsl_kernels.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ndarray/test_dsl_kernels.py b/tests/ndarray/test_dsl_kernels.py index 8261536f5..45e582727 100644 --- a/tests/ndarray/test_dsl_kernels.py +++ b/tests/ndarray/test_dsl_kernels.py @@ -141,9 +141,9 @@ def kernel_fallback_for_else(x, y): acc = x for i in range(2): acc = acc + i + break else: - acc = acc + y - return acc + return acc + y @blosc2.dsl_kernel