qemu-cr16/tests/functional/x86_64
Thomas Huth d0d86db5c9 tests/functional/x86_64/test_memlock: Silence pylint warnings
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.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20251119082636.43286-9-thuth@redhat.com>
2025-11-21 08:33:15 +01:00
..
meson.build tests/functional: add a vfio-user smoke test 2025-09-25 17:55:19 +02:00
test_acpi_bits.py tests/functional/x86_64/test_acpi_bits: Silence warnings reported by pylint 2025-11-03 08:27:59 +01:00
test_bad_vmstate.py tests/functional: Test whether the vmstate-static-checker script works fine 2025-09-24 08:26:11 +02:00
test_cpu_model_versions.py
test_cpu_queries.py
test_hotplug_blk.py
test_hotplug_cpu.py
test_intel_iommu.py
test_kvm_xen.py tests: move test_kvm_xen to share.linaro.org 2025-11-17 15:51:00 +00:00
test_linux_initrd.py
test_mem_addr_space.py
test_memlock.py tests/functional/x86_64/test_memlock: Silence pylint warnings 2025-11-21 08:33:15 +01:00
test_migration.py
test_multiprocess.py
test_netdev_ethtool.py tests: move test_netdev_ethtool to share.linaro.org 2025-11-17 15:51:00 +00:00
test_pc_cpu_hotplug_props.py
test_replay.py
test_reverse_debug.py tests/functional/x86_64/test_reverse_debug: Silence pylint warning 2025-11-21 08:33:15 +01:00
test_tuxrun.py
test_vfio_user_client.py tests/functional: add a vfio-user smoke test 2025-09-25 17:55:19 +02:00
test_virtio_balloon.py tests/functional/x86_64/test_virtio_balloon: Fix cosmetic issues from pylint 2025-11-03 08:27:59 +01:00
test_virtio_gpu.py tests/functional/x86_64/test_virtio_gpu: Fix various issues reported by pylint 2025-11-21 08:33:15 +01:00
test_virtio_version.py