Skip to content

Commit

Permalink
Selective skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smoia committed Apr 27, 2023
1 parent d215fef commit 26da4e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phys2bids/tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import os
import math
import sys

import numpy as np
import pytest
from pytest import raises
Expand Down Expand Up @@ -210,6 +212,10 @@ def test_load_gep_two_files_resp(ge_two_gep_files_resp, testpath):
assert np.array_equal(gep_data2, phys_obj.timeseries[3])


@pytest.mark.skipif(
sys.version_info < (3, 7) or sys.version_info > (3, 9),
reason="Requires python between 3.7 and 3.9"
)
def test_load_smr(spike2_smr_file, spike2_smrx_file):
chtrig = 5

Expand Down

0 comments on commit 26da4e3

Please sign in to comment.