On Wed, Nov 19, 2025 at 09:26:29AM +0100, Thomas Huth wrote:
> Date: Wed, 19 Nov 2025 09:26:29 +0100
> From: Thomas Huth <[email protected]>
> Subject: [PATCH for-11.0 08/15] tests/functional/x86_64/test_memlock:
>  Silence pylint warnings
> 
> From: Thomas Huth <[email protected]>
> 
> Pylint complains about a missing "encoding" parameter for the open()
> function here, and about a missing return statement in the "except"
> block (which cannot happen since skipTest() never returns). Rework
> the code a little bit to silence the warnings.
> 
> Signed-off-by: Thomas Huth <[email protected]>
> ---
>  tests/functional/x86_64/test_memlock.py | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Zhao Liu <[email protected]>


Reply via email to