From f16d1e9059780f5ea8533da14b84287baf18812d Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 14 Nov 2024 13:32:39 -0500 Subject: [PATCH] reduce threshold --- tests/outlier_detection/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/outlier_detection/test_utils.py b/tests/outlier_detection/test_utils.py index 4e14c508..05a6dea7 100644 --- a/tests/outlier_detection/test_utils.py +++ b/tests/outlier_detection/test_utils.py @@ -92,7 +92,7 @@ def test_compute_weight_threshold_memory(): # buffer to account for memory overhead needs to be small enough # to ensure that the array was not copied - fractional_memory_buffer = 1.9 + fractional_memory_buffer = 0.9 expected_mem = int(arr.nbytes*fractional_memory_buffer) with MemoryThreshold(str(expected_mem) + " B"): result = compute_weight_threshold(arr, 0.5)