diff --git a/tests/unit/array/mixins/test_getset.py b/tests/unit/array/mixins/test_getset.py index cae3442b3fe..5cc8ef9cbc5 100644 --- a/tests/unit/array/mixins/test_getset.py +++ b/tests/unit/array/mixins/test_getset.py @@ -1,5 +1,3 @@ -import gc - import numpy as np import pytest import scipy.sparse @@ -514,9 +512,6 @@ def test_getset_subindex(storage, config): ], ) def test_init_subindex(storage, config): - if storage == 'redis': - gc.collect() - num_top_level_docs = 5 num_chunks_per_doc = 3 subindex_configs = ( diff --git a/tests/unit/array/test_sequence.py b/tests/unit/array/test_sequence.py index 83aed2e8376..458e563f7c5 100644 --- a/tests/unit/array/test_sequence.py +++ b/tests/unit/array/test_sequence.py @@ -1,4 +1,3 @@ -import gc import tempfile import uuid @@ -91,9 +90,6 @@ def test_context_manager_from_disk(storage, config, start_storage, tmpdir, tmpfi config = config update_config_inplace(config, tmpdir, tmpfile) - if storage == 'redis': - gc.collect() - da = DocumentArray(storage=storage, config=config) with da as da_open: