From c1759232b42c8926c080006223c382e20b9b2470 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 25 Mar 2025 06:15:33 +0000 Subject: Read sew stack debug information once and re-use (#3604) --- tests/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/utils.py b/tests/utils.py index 3e771628..cfcaa29a 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,9 +1,8 @@ -from lib.debug.utils import safe_get -from lib.utils.paths import get_ini +from lib.debug.debug import sew_stack_enabled def element_count(): element_count = 1 - if safe_get(get_ini(), "DEBUG", "sew_stack_enable", default=False): + if sew_stack_enabled: element_count = 2 return element_count -- cgit v1.2.3