From 2921b778cc3e50aed37337e653ba928dae81d481 Mon Sep 17 00:00:00 2001 From: Melissa DeLucchi Date: Wed, 22 Jan 2025 07:56:43 -0500 Subject: [PATCH] Address numba timeout --- tests/hats/pixel_tree/test_pixel_alignment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hats/pixel_tree/test_pixel_alignment.py b/tests/hats/pixel_tree/test_pixel_alignment.py index 91adebc1..0adb1317 100644 --- a/tests/hats/pixel_tree/test_pixel_alignment.py +++ b/tests/hats/pixel_tree/test_pixel_alignment.py @@ -44,6 +44,8 @@ def assert_mapping_matches_tree(alignment: PixelAlignment): ) +# First test using numba-compiled stuff. Give it time to compile. +@pytest.mark.timeout(20) def test_pixel_tree_alignment_same_tree(pixel_tree_1): alignment = align_trees(pixel_tree_1, pixel_tree_1, "inner") assert_trees_equal(pixel_tree_1, alignment.pixel_tree)