]> git.hungrycats.org Git - linux/commit
selftests: rds: Fix more pylint errors
authorAllison Henderson <achender@kernel.org>
Mon, 4 May 2026 05:41:36 +0000 (22:41 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 6 May 2026 02:19:53 +0000 (19:19 -0700)
commit5bdd59f906338780a0c977aae3f427937f6b7ec8
tree03d7c66df172dd0297a2d3d103dd277fc22df560
parent4781c8b037a898cf3ebdf93787b0451a734ad76b
selftests: rds: Fix more pylint errors

This patch fixes a few pylint errors in test.py. Remove unused exception
variables from except blocks, and disable warnings for imports that cannot
appear at the start of the module.  Also disable warnings for the
tcpdump processes.  The suggestion to use a with block does not apply
here since the process needs to outlive the parent to collect the dumps.
Lastly add the module docstring at the top of the module.

Signed-off-by: Allison Henderson <achender@kernel.org>
Link: https://patch.msgid.link/20260504054143.4027538-4-achender@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/rds/test.py