test(core): ignore `DeprecationWarning` from `dominate` during UI tests
What changed, and why it matters
This change only adjusts a test configuration file to silence a harmless deprecation warning coming from a third-party UI library called dominate. It does not modify any firmware, wallet, or security-related code, and there is no indication it fixes or hides a real security problem.
No security action needed. Treat as routine test-hygiene cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit adds a pytest filterwarnings entry in setup.cfg to ignore a DeprecationWarning (‘There is no current event loop’) emitted by the dominate library during UI tests. The comment references an upstream pull request (Knio/dominate#211) and is tagged [no changelog]. No firmware, cryptographic, storage, or device-interaction code is changed.
Changed components
tests/core/setup.cfgInspect captured patch +2 / −0
diff --git a/setup.cfg b/setup.cfg
index 87a3162a..d7d022c8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -43,6 +43,8 @@ addopts =
testpaths = tests crypto storage python/tests
xfail_strict = true
junit_family = xunit2
+# Pending release of https://github.com/Knio/dominate/pull/211
+filterwarnings = ignore:There is no current event loop:DeprecationWarning:dominate
[mypy]
mypy_path = src,mocks,mocks/generated
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.