[PATCH v2] kunit: tool: remove unused JUnit imports

From: Jahan Zaib Ashraf Mir

Date: Thu Nov 26 2026 - 11:06:43 EST


The JUnit output implementation uses ElementTree directly, so the
xml.sax.saxutils imports are unused. Remove them.

Signed-off-by: Jahan Zaib Ashraf Mir <jahanzaibashraf1318@xxxxxxxxx>
Reviewed-by: David Gow <david@xxxxxxxxxxxx>
---
tools/testing/kunit/kunit_junit.py | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/testing/kunit/kunit_junit.py b/tools/testing/kunit/kunit_junit.py
index 3622070358e7..b76748947d65 100644
--- a/tools/testing/kunit/kunit_junit.py
+++ b/tools/testing/kunit/kunit_junit.py
@@ -4,7 +4,6 @@
#
# Copyright (C) 2026, Google LLC and David Gow.

-from xml.sax.saxutils import quoteattr, XMLGenerator
import xml.etree.ElementTree as ET
from kunit_parser import Test, TestStatus
from typing import Optional
--
2.56.1