Skip to content

Commit bdaeac1

Browse files
committed
increased parallel test overhead for mac python 3.13 runner
1 parent bf13848 commit bdaeac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/motion_correction/test_parallelization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ def progress_callback(current, total):
431431
print(f"Time with callback: {time_with:.3f}s ({call_count[0]} calls)")
432432
print(f"Overhead: {(time_with - time_without):.3f}s")
433433

434-
# Callback overhead should be minimal (< 10% for this test size)
435-
assert time_with < time_without * 1.1, "Callback overhead too high"
434+
# Callback overhead should be modest; allow 20% headroom for slower runners
435+
assert time_with < time_without * 1.2, "Callback overhead too high"
436436

437437
# Results should be identical
438438
np.testing.assert_allclose(registered1, registered2, rtol=1e-6)

0 commit comments

Comments
 (0)