fix(test): remove unused import and dead variable (ruff F401/F841)

This commit is contained in:
happy5318 committed 2026-09-20 22:11:03 +08:00
1 parent 8be686ee75
commit 6bbaf55674
1 file changed
-2
@@ -19,7 +19,6 @@ without a page reload.
""" """
from __future__ import annotations from __future__ import annotations
import re
from pathlib import Path from pathlib import Path
import pytest import pytest
@@ -114,7 +113,6 @@ __HANDLER__
def _build_harness_html() -> str: def _build_harness_html() -> str:
handlers = _extract_helper_functions() + "\n" + _extract_composer_handler()
return HARNESS_HTML.replace("__HELPERS__", _extract_helper_functions()).replace( return HARNESS_HTML.replace("__HELPERS__", _extract_helper_functions()).replace(
"__HANDLER__", _extract_composer_handler() "__HANDLER__", _extract_composer_handler()
) )