From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2EE22CF8861 for ; Thu, 20 Nov 2025 14:39:05 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vM5o9-0006Pj-TI; Thu, 20 Nov 2025 09:38:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vM5o8-0006P0-DB for qemu-devel@nongnu.org; Thu, 20 Nov 2025 09:38:48 -0500 Received: from mgamail.intel.com ([198.175.65.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vM5o6-0007xQ-RL for qemu-devel@nongnu.org; Thu, 20 Nov 2025 09:38:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1763649527; x=1795185527; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=v/g893VPuBjC6xxawzXpvoPsp3g/jub8oc0gj0kBDAU=; b=Up0tLdkYAvp2RQfP8kShqDOHhOxZgZtdReapxV6JwZik3GDNgy5mhTVa MH204VY7CUDUjWJcR50ckkecTjBkS77jvnWo81PAnRkeazqP182zucIzS c/r8JtK55HxDcuZtXu5hcPDNKhNJiuwsfWu+/QPq/hQL1fKuNGGSP+6Ix SBTwARaNuoRS+fk5tH7S9ng3W52dhDZFETIclo9YUnw8FAz9rZqM3pJ9Q BB+2loO98Xs86ncttcU+m0bARQnmsQzFWjOZExVUxsWXl9GDW4D1QrsKa /hYMQ+wZbJYkLaa1n3h5koJPIvFM4OWM6SPqpl/5mn2CA5hB4EWUhVUbd Q==; X-CSE-ConnectionGUID: Vx6qzM90QGS7jxnznwd7vA== X-CSE-MsgGUID: HRrIOKxUTkKNAuf3xvBamA== X-IronPort-AV: E=McAfee;i="6800,10657,11619"; a="76825601" X-IronPort-AV: E=Sophos;i="6.20,213,1758610800"; d="scan'208";a="76825601" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2025 06:38:46 -0800 X-CSE-ConnectionGUID: 1dkTEo/iRBmIDbMW+HNfIw== X-CSE-MsgGUID: vXR88MfsQTmiLzcfHRgzfg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.20,213,1758610800"; d="scan'208";a="191500433" Received: from liuzhao-optiplex-7080.sh.intel.com (HELO localhost) ([10.239.160.39]) by orviesa008.jf.intel.com with ESMTP; 20 Nov 2025 06:38:41 -0800 Date: Thu, 20 Nov 2025 23:01:00 +0800 From: Zhao Liu To: Thomas Huth Cc: qemu-devel@nongnu.org, John Snow , Daniel =?iso-8859-1?Q?P=2E_Berrang=E9?= , Paolo Bonzini , Alex =?iso-8859-1?Q?Benn=E9e?= , Radoslaw Biernacki , Peter Maydell , Leif Lindholm , Eric Auger , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Aurelien Jarno , BALATON Zoltan , Glenn Miles , Nicholas Piggin , Harsh Prateek Bora , Palmer Dabbelt , Alistair Francis , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , Jiaxun Yang Subject: Re: [PATCH for-11.0 04/15] tests/functional/x86_64/test_virtio_gpu: Fix various issues reported by pylint Message-ID: References: <20251119082636.43286-1-thuth@redhat.com> <20251119082636.43286-5-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251119082636.43286-5-thuth@redhat.com> Received-SPF: pass client-ip=198.175.65.13; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Wed, Nov 19, 2025 at 09:26:25AM +0100, Thomas Huth wrote: > Date: Wed, 19 Nov 2025 09:26:25 +0100 > From: Thomas Huth > Subject: [PATCH for-11.0 04/15] tests/functional/x86_64/test_virtio_gpu: > Fix various issues reported by pylint > > From: Thomas Huth > > Use the recommended order for import statements, specify the kind of > exceptions that we try to catch, use f-strings where it makes sense, > rewrite the vug_log_file part with a proper "with" statement and > fix some FIXMEs by checking for the availability of the devices, etc. > > Message-Id: <20251113114015.490303-1-thuth@redhat.com> > Reviewed-by: Akihiko Odaki > Signed-off-by: Thomas Huth > --- > tests/functional/x86_64/test_virtio_gpu.py | 56 +++++++++++----------- > 1 file changed, 28 insertions(+), 28 deletions(-) Reviewed-by: Zhao Liu