fixed failing test
Build on RHEL9 / build (push) Successful in 2m31s
Build on RHEL8 / build (push) Successful in 3m18s
Run tests using data on local RHEL8 / build (push) Failing after 4m8s

This commit is contained in:
Erik Frojdh
2026-08-05 12:43:48 +02:00
parent 029cb613ad
commit 43cde68f8c
3 changed files with 26 additions and 11 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ def test_fast_pedestal_initialization(pedestal_type, expected_dtype):
pedestal.push_init(first)
pedestal.push_init(second)
pedestal.update_mean()
expected_mean = np.array(
[[3, 5, 7], [9, 11, 13]], dtype=expected_dtype
@@ -28,7 +28,7 @@ def test_fast_pedestal_steady_state_push():
pedestal = FastPedestal_d(1, 2, 2)
pedestal.push_init(np.array([[2, 4]], dtype=np.uint16))
pedestal.push_init(np.array([[4, 6]], dtype=np.uint16))
pedestal.update_mean()
pedestal.push(np.array([[6, 8]], dtype=np.uint16))
@@ -38,7 +38,7 @@ def test_fast_pedestal_steady_state_push():
def test_fast_pedestal_exposes_read_only_buffer_and_subtraction():
pedestal = FastPedestal_d(1, 2, 1)
pedestal.push_init(np.array([[2, 4]], dtype=np.uint16))
pedestal.update_mean()
view = np.asarray(pedestal)
result = np.array([[12, 14]], dtype=np.uint16) - pedestal