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> |
||
|---|---|---|
| .. | ||
| meson.build | ||
| test_acpi_bits.py | ||
| test_bad_vmstate.py | ||
| 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 | ||
| test_linux_initrd.py | ||
| test_mem_addr_space.py | ||
| test_memlock.py | ||
| test_migration.py | ||
| test_multiprocess.py | ||
| test_netdev_ethtool.py | ||
| test_pc_cpu_hotplug_props.py | ||
| test_replay.py | ||
| test_reverse_debug.py | ||
| test_tuxrun.py | ||
| test_vfio_user_client.py | ||
| test_virtio_balloon.py | ||
| test_virtio_gpu.py | ||
| test_virtio_version.py | ||