From nobody Mon Feb 9 09:08:59 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632762188; cv=none; d=zohomail.com; s=zohoarc; b=nmsCBi+ZvRRiEjCRRlrSOq17axPNoqpr6j/g8BW0RK5QYTDev20qrXSMXlwouIN2QcKGLutA8KZQLVs6eh6Hz9IeynYL6EIMo4DLdn7Uibxd1kpinZkr7b8fw7MeMnbaicg5Nm60CMcV4coo1UNUxzHJlCG+GGK6NzYhCYYYC7g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632762188; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=B6rQjxAy72iJxoMGR7Rv5VxW4F4jqkPf51TKeKH4908=; b=G73y9pX7D9zcltkBswBR87aIlGFZ9inXPmkWQxMvfuNkkQ5mwYYSq+4A1PFdKyBBXwCCOA6gg/+inu3ZsovWFsAzU+cHRtNLqDJmwE3/EegDLBTkZHK/nKN6h561V+zJcktzntOm6tnZhMjtd6Bn7pLeLYoZ3kfgszMsd9YcrZY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1632762188701708.7473420762277; Mon, 27 Sep 2021 10:03:08 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-167-ggE3uDtWMwCBQPHhi11m6Q-1; Mon, 27 Sep 2021 13:03:06 -0400 Received: by mail-wm1-f69.google.com with SMTP id l42-20020a05600c1d2a00b0030d02f09530so199245wms.0 for ; Mon, 27 Sep 2021 10:03:06 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id z133sm64393wmc.45.2021.09.27.10.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632762187; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=B6rQjxAy72iJxoMGR7Rv5VxW4F4jqkPf51TKeKH4908=; b=XvX+CrLZxAS3LzD5pDCG50IzCHCrJLK1yssLMY48aKUDtuVjFMHgW+aP95mcpTF2/3S2At mR0Wksk10Qczud8lexUt72++PtdpM5FTsI0baR0JEH65iKvo99VkstOSfQcHRJ15nEm2OI rVRDLqM45sY10L/yo8CzJ27ZJ39+3Nc= X-MC-Unique: ggE3uDtWMwCBQPHhi11m6Q-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=B6rQjxAy72iJxoMGR7Rv5VxW4F4jqkPf51TKeKH4908=; b=hQjYAHn9Zpb3WP9Q277E/o0PkEbHtJa49OkaINks110dA/9ZTQb1WnkvkaOqBy1dlU seAMCvrFJu/2i3272LCDg/1RsFlxm/BQFLdgc5umGDtkWYgGUorqiFWaK4RSJyFAkjUd rbdXtxoKIGdDObLW71DBzuCraH9vAeoMdUp7wrrkNXscUZFCw+1kT1xdubL0pNpJxHq9 QqCiBiLd06BGQJfP+RoMwLjlec/PKJ+Xad2XSWEKP9/UCWU3nRrt7G9eoHO/fNZGjpfs LwaM+AMDyKw+1PVNZrEkOmRDKgSGk+cbXHhaE3Q32sfww8psTAz3tSLTHbzfTsmzF8yF aIzQ== X-Gm-Message-State: AOAM531AyTJnLiKaw4R15+lrQ5lCizYFK4T3jzkQXYsqR3ID+l6yNf+5 HkGQnM15Y6rq9q3WC5J5uXsFaKvw1swoGxQBp3YjyL4rwBdDu+ZZoAAuVq1+foUZBNHISwF8HEZ NWuoZhk6d/bgJuA== X-Received: by 2002:adf:e44f:: with SMTP id t15mr1121780wrm.394.1632762185187; Mon, 27 Sep 2021 10:03:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiBnfSGm555uCL2xeYS1Qkl84z0Dqy/U9fLfxkFY2JBnKkwycNnO/7HXcMJxKTQ0jt5lgpxg== X-Received: by 2002:adf:e44f:: with SMTP id t15mr1121761wrm.394.1632762185061; Mon, 27 Sep 2021 10:03:05 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 08/21] avocado_qemu: standardize super() call following PEP3135 Date: Mon, 27 Sep 2021 19:02:14 +0200 Message-Id: <20210927170227.2014482-9-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927170227.2014482-1-philmd@redhat.com> References: <20210927170227.2014482-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632762189101100001 From: Willian Rampazzo PEP3135 states when calling super(), there is no need to use arguments. This changes the calls on avocado_qemu to standardize according to PEP3135 and avoid warnings from linters. Signed-off-by: Willian Rampazzo Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210920204932.94132-3-willianr@redhat.com> --- tests/acceptance/avocado_qemu/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/a= vocado_qemu/__init__.py index d9e1b32aa16..d2077d63cda 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -282,7 +282,7 @@ def fetch_asset(self, name, asset_hash=3DNone, algorithm=3DNone, locations=3DNone, expire=3DNone, find_only=3DFalse, cancel_on_missing=3DTrue): - return super(Test, self).fetch_asset(name, + return super().fetch_asset(name, asset_hash=3Dasset_hash, algorithm=3Dalgorithm, locations=3Dlocations, @@ -470,7 +470,7 @@ def _set_distro(self): self.distro.checksum =3D distro_checksum =20 def setUp(self, ssh_pubkey=3DNone, network_device_type=3D'virtio-net'): - super(LinuxTest, self).setUp() + super().setUp() self._set_distro() self.vm.add_args('-smp', '2') self.vm.add_args('-m', '1024') --=20 2.31.1