pylint complains that discards1_sha256 and all_discards_sha256 are first set in non-__init__ methods. Let's make it happy.
Signed-off-by: Max Reitz <mre...@redhat.com> --- tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test index 584062b412..013e94fc39 100755 --- a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test +++ b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test @@ -76,6 +76,9 @@ def check_bitmaps(vm, count): class TestDirtyBitmapPostcopyMigration(iotests.QMPTestCase): + discards1_sha256 = None + all_discards_sha256 = None + def tearDown(self): if debug: self.vm_a_events += self.vm_a.get_qmp_events() -- 2.29.2