Skip to content

Commit f7c9170

Browse files
committed
tests/test_ephys_extractor.py: Ignore divide by zero warnings
The whole purpose of the test is to trigger that case.
1 parent 0262fab commit f7c9170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ephys_extractor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_extractors_no_values():
4343
SpikeFeatureExtractor()
4444
SpikeTrainFeatureExtractor(start=0, end=0)
4545

46-
46+
@pytest.mark.filterwarnings("ignore:.*encountered in divide:RuntimeWarning")
4747
def test_extractor_wrong_inputs(spike_test_pair):
4848
data = spike_test_pair
4949

0 commit comments

Comments
 (0)