diff --git a/src/spikeinterface/qualitymetrics/tests/test_metrics_functions.py b/src/spikeinterface/qualitymetrics/tests/test_metrics_functions.py index 88c9af15b4..5228fdfa83 100644 --- a/src/spikeinterface/qualitymetrics/tests/test_metrics_functions.py +++ b/src/spikeinterface/qualitymetrics/tests/test_metrics_functions.py @@ -395,7 +395,7 @@ def test_calculate_sd_ratio(waveform_extractor_simple): ) assert np.all(list(sd_ratio.keys()) == waveform_extractor_simple.unit_ids) - assert np.allclose(sd_ratio.values(), 1, atol=0.25, rtol=0) + assert np.allclose(list(sd_ratio.values()), 1, atol=0.25, rtol=0) if __name__ == "__main__":