Skip to content

Commit 2753abb

Browse files
committed
try attempting garbage collector to run at end of test
1 parent 1545b1b commit 2753abb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/core/test_integration/test_detection.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import gc
12
import os
23
from math import isclose
34

@@ -107,6 +108,9 @@ def test_detection_full(
107108
num_cells_validation, num_cells_test, abs_tol=DETECTION_TOLERANCE
108109
)
109110

111+
# Force explicit memory cleanup
112+
gc.collect()
113+
110114

111115
def test_detection_small_planes(
112116
signal_array,

0 commit comments

Comments
 (0)