On 19/11/25 09:26, Thomas Huth wrote:
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: Philippe Mathieu-Daudé <[email protected]>


Reply via email to