From 856cf879e8fafb726145ca16dbef9971083c106e Mon Sep 17 00:00:00 2001 From: tligui_y Date: Thu, 31 Jul 2025 21:46:56 +0200 Subject: [PATCH] Update tests/test_utils_get_adj.py --- tests/test_utils_get_adj.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_utils_get_adj.py b/tests/test_utils_get_adj.py index 03a2051a6..5e7672683 100644 --- a/tests/test_utils_get_adj.py +++ b/tests/test_utils_get_adj.py @@ -7,11 +7,9 @@ from slic.utils.get_adj import * @pytest.fixture(autouse=True) def cleanup_adjustables(): - instances(SubAdjustable).clear() - instances(Adjustable).clear() + instances(Adjustable, weak=True).clear() yield - instances(SubAdjustable).clear() - instances(Adjustable).clear() + instances(Adjustable, weak=True).clear() class SubAdjustable(Adjustable): def __init__(self, *a, **kw):