summaryrefslogtreecommitdiff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2025-03-25 06:15:33 +0000
committerGitHub <noreply@github.com>2025-03-25 07:15:33 +0100
commitc1759232b42c8926c080006223c382e20b9b2470 (patch)
treeaed2cd8582cb43154619e11949d63b5c84f0dcf8 /tests/utils.py
parent23dcbd58bc8f26a71b0483ed907c0052ca348899 (diff)
Read sew stack debug information once and re-use (#3604)
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py5
1 files changed, 2 insertions, 3 deletions
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