diff --git a/src/spikeinterface/exporters/tests/common.py b/src/spikeinterface/exporters/tests/common.py index 9957f91569..a6fc2abf99 100644 --- a/src/spikeinterface/exporters/tests/common.py +++ b/src/spikeinterface/exporters/tests/common.py @@ -55,17 +55,17 @@ def make_sorting_analyzer(sparse=True, with_group=False): return sorting_analyzer -@pytest.fixture(scope="session") +@pytest.fixture(scope="module") def sorting_analyzer_dense_for_export(): return make_sorting_analyzer(sparse=False) -@pytest.fixture(scope="session") +@pytest.fixture(scope="module") def sorting_analyzer_with_group_for_export(): return make_sorting_analyzer(sparse=False, with_group=True) -@pytest.fixture(scope="session") +@pytest.fixture(scope="module") def sorting_analyzer_sparse_for_export(): return make_sorting_analyzer(sparse=True)