diff --git a/tests/test_heartbeats.py b/tests/test_heartbeats.py index 0a1a1c3..480613d 100644 --- a/tests/test_heartbeats.py +++ b/tests/test_heartbeats.py @@ -4,6 +4,8 @@ """Tests for heartbeat detection and detector evaluation.""" +import sys + import numpy as np import pytest @@ -30,7 +32,19 @@ def mitdb_234_MLII(): return next(read_mitdb(records_pattern="234")) -@pytest.mark.parametrize("backend", ["c", "numba", "python"]) +@pytest.mark.parametrize( + "backend", + [ + "c", + pytest.param( + "numba", + marks=pytest.mark.skipif( + sys.version_info >= (3, 13), reason="numba does not support Python 3.13" + ), + ), + "python", + ], +) def test_detect_heartbeats(mitdb_234_MLII, backend): """Test heartbeat detection on mitdb:234:MLII.""" record = mitdb_234_MLII