[PATCH] kunit: tool: remove unused JUnit imports

1 view
Skip to first unread message

jahanzaibmir

unread,
Sep 30, 2026, 4:37:34 PM (2 days ago) Sep 30
to brendan...@linux.dev, da...@davidgow.net, raem...@gmail.com, linux-k...@vger.kernel.org, kuni...@googlegroups.com, linux-...@vger.kernel.org, jahanzaibmir
The JUnit output implementation uses ElementTree directly, so the
xml.sax.saxutils imports are unused. Remove them.

Signed-off-by: jahanzaibmir <jahanzaib...@gmail.com>
---
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.55.0

Jahanzaib

unread,
Oct 1, 2026, 4:20:44 PM (17 hours ago) Oct 1
to brendan...@linux.dev, da...@davidgow.net, raem...@gmail.com, linux-k...@vger.kernel.org, kuni...@googlegroups.com, linux-...@vger.kernel.org
Reply all
Reply to author
Forward
0 new messages