Skip to content

Commit

Permalink
Skip numba test for >= 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrnr committed Jan 17, 2025
1 parent e571970 commit a98f746
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion tests/test_heartbeats.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

"""Tests for heartbeat detection and detector evaluation."""

import sys

import numpy as np
import pytest

Expand All @@ -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
Expand Down

0 comments on commit a98f746

Please sign in to comment.