fix: remove unused smd media test variable

This commit is contained in:
silent-reader-cn
2026-07-10 09:29:35 +08:00
committed by nesquena-hermes
parent d2a696d09a
commit 7cf8823921
-2
View File
@@ -144,8 +144,6 @@ class TestSmdMediaInStream(unittest.TestCase):
# text-node insertion. The new implementation routes plain prose
# back to baseAddText (which uses createTextNode) and only sends
# each MEDIA token's HTML through DOMParser.
idx = MESSAGES_JS.index("function _smdMediaAwareAddText")
block = MESSAGES_JS[idx:idx + 5000]
# The single-token DOMParser helper must exist and accept ONE ref;
# the loop body must call baseAddText for any prose slice *before*
# it would attempt to splice HTML.