Skip to content

Commit

Permalink
try attempting garbage collector to run at end of test
Browse files Browse the repository at this point in the history
  • Loading branch information
willGraham01 committed Feb 6, 2024
1 parent 1545b1b commit 2753abb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/core/test_integration/test_detection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import gc
import os
from math import isclose

Expand Down Expand Up @@ -107,6 +108,9 @@ def test_detection_full(
num_cells_validation, num_cells_test, abs_tol=DETECTION_TOLERANCE
)

# Force explicit memory cleanup
gc.collect()


def test_detection_small_planes(
signal_array,
Expand Down

0 comments on commit 2753abb

Please sign in to comment.