From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 08E44A0544; Mon, 10 Oct 2022 05:12:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0258D400D5; Mon, 10 Oct 2022 05:12:38 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9C44B40042 for ; Mon, 10 Oct 2022 05:12:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665371556; x=1696907556; h=message-id:date:content-transfer-encoding:mime-version: subject:from:to:reply-to:cc:in-reply-to; bh=nAzi+PWOGyndQ/DpMowqFcg12kI90xoi/rDRoc+KaEw=; b=nYkU0x2F7sPnG8d+px7to15Wnv6i4Q2f8pTzSycmP4Xpe9yY+Gnw4kZs XY/rGSjjFLa/aFRVH5gTkI28nS5ixO3hif44MU62Mv3qIXKUCm2Q3zYKd nRiRW4jUhdhKgkr09AJxC2Hul+zWD8nyFb2nnEaurdqgqsgwIMvXjwW72 K14C0dq4wxmQFpyViWi0is8Mob1NhVkkzmnCAfQjCayI6ZocDzqpQ/XWN zgatyfmB6ot7ftnI2zZsidbFf2Hl4VNaHuzT+8Xt5G6MNaqEROa/heRSJ He02ze7L9KqJE7izIXU3SBK6T1TAwUZDIkapMUqFRd2Gb9/bWOwn0Q7FY Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10495"; a="287367538" X-IronPort-AV: E=Sophos;i="5.95,172,1661842800"; d="scan'208";a="287367538" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2022 20:12:35 -0700 Message-Id: Date: 09 Oct 2022 20:12:34 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10495"; a="625825596" X-IronPort-AV: E=Sophos;i="5.95,172,1661842800"; d="scan'208";a="625825596" Received: from dpdk-lijuan-1.sh.intel.com ([10.67.119.225]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2022 20:12:34 -0700 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [dts][PATCH V1] framework/tester:optimize handing of import error From: lijuan.tu@intel.com To: dts@dpdk.org,Zhimin Huang Cc: Zhimin Huang In-Reply-To: <20220917130418.1690-1-zhiminx.huang@intel.com> X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Zhimin Huang Errors-To: dts-bounces@dpdk.org On Sat, 17 Sep 2022 21:04:18 +0800, Zhimin Huang wr= ote: > the scapy import module failed, it may not be ImportError. > except to import class failed, the module may also fail to import. > if the from module name does not exist, it's will report ModuleNotFoundErro= r. > so add ModuleNotFoundError error in judgement. >=20 > Signed-off-by: Zhimin Huang Applied, thanks