summaryrefslogtreecommitdiff
path: root/Documentation/tools/python.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2026-03-17 19:09:21 +0100
committerJonathan Corbet <corbet@lwn.net>2026-03-22 15:02:29 -0600
commit023aabb6ccb298add344cab7c00c5f27b10319aa (patch)
treef6d579d56e8fefd1e812f119acfa2dd0e7178146 /Documentation/tools/python.rst
parent6108c809f4fd9dbb1a138ba4326d645cc3113a8d (diff)
downloadlwn-023aabb6ccb298add344cab7c00c5f27b10319aa.tar.gz
lwn-023aabb6ccb298add344cab7c00c5f27b10319aa.zip
docs: python: add helpers to run unit tests
While python internal libraries have support for unit tests, its output is not nice. Add a helper module to improve its output. I wrote this module last year while testing some scripts I used internally. The initial skeleton was generated with the help of LLM tools, but it was higly modified to ensure that it will work as I would expect. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Message-ID: <37999041f616ddef41e84cf2686c0264d1a51dc9.1773074166.git.mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <d81be167b8cdeb003c1f8dcc7ad83a5ed2b520b6.1773770483.git.mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/tools/python.rst')
-rw-r--r--Documentation/tools/python.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/tools/python.rst b/Documentation/tools/python.rst
index 1444c1816735..3b7299161f20 100644
--- a/Documentation/tools/python.rst
+++ b/Documentation/tools/python.rst
@@ -11,3 +11,5 @@ Python libraries
feat
kdoc
kabi
+
+ unittest