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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A73AEB64DC for ; Tue, 11 Jul 2023 14:59:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C281B8689E; Tue, 11 Jul 2023 16:59:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="UpJ/Zvkk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A52E88681B; Tue, 11 Jul 2023 16:59:49 +0200 (CEST) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6580686887 for ; Tue, 11 Jul 2023 16:59:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x134.google.com with SMTP id e9e14a558f8ab-3460815fde5so29442105ab.2 for ; Tue, 11 Jul 2023 07:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689087586; x=1691679586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bP0RZRZwVPyNFnItgw4+E4ejcdFXFZrp+wVbwHaNR1Q=; b=UpJ/ZvkklmujUV9yumVvC99Orx/+NWAWn/XxfKAN+jrYu45xPYfLi55aE9TbJBGvAg KlB/AnkyiE+zW+OhePsQb99mdY8p2BpfLM6FfDMzn6q4H/vOPjHeSukB26XXae5HJVJT OuHy4Je/e7pLBMjqhxsSeTCEgvEkZrmF3mV+w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689087586; x=1691679586; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bP0RZRZwVPyNFnItgw4+E4ejcdFXFZrp+wVbwHaNR1Q=; b=GIk5dhrXGCFjN1WXE0FzEpHs54/EE/EXDQ5zyBm4KeYUR3WTUj/7DN2LSGWsmYyF64 q4jgwmxaMSBwoZjgQ+QJupswqQMj56XyTCFtHqOd0HPUc7xyEjoVRZQ/JvQhyfYQR/iT kUjGdzJPpFuq31DJYRAkQBo6shJHVC5ZkOMB1VeHKmbqjd6mQbWI6D+rDR0sY2CgFKpw HKsH4d+WVV6bNPkjtogVCj7qWuCfZyUEDxUFLtxZB9NYoTRCcgO9OlmTdaLk/06Sye7P sEEK+V3zR7TTAhT02qhhp0Kehdco7pvl0UUvfPO4I0sEo0oQaFeBEfvivhGl5LKtaVeH 53dw== X-Gm-Message-State: ABy/qLYI07bBm88ezDwWDLQaxbDgUZEEIV4+IGGQa2wZ9FMGyG6v8GuD wO0Y2SNgWJWFhOEHKalS1hlB7olU8tuU3bh9pTk= X-Google-Smtp-Source: APBJJlFBPzOiCPPh1A5D0ryU8y0DQqT/PLgCs35aq7NnXYOyMWL75QrA8dKQ1+7MyJUow20mEHMDew== X-Received: by 2002:a92:dc0e:0:b0:345:c050:b25f with SMTP id t14-20020a92dc0e000000b00345c050b25fmr14780133iln.20.1689087585962; Tue, 11 Jul 2023 07:59:45 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id v6-20020a92cd46000000b00338a1272ce1sm658881ilq.52.2023.07.11.07.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jul 2023 07:59:45 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Marek Vasut , Jan Kiszka , Simon Glass , Alper Nebi Yasak , Neha Malcom Francis , Peng Fan , Philippe Reynes , Stefan Herbrechtsmeier Subject: [PATCH v4 01/20] binman: Correct coverage gap in control Date: Tue, 11 Jul 2023 08:59:03 -0600 Message-ID: <20230711145935.2289816-2-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.390.g38632f3daf-goog In-Reply-To: <20230711145935.2289816-1-sjg@chromium.org> References: <20230711145935.2289816-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Add a pragma to deal with the code-coverage gap which drops binman down to 90% coverage. Fixes: de65b122a25 (tools: Fall back to importlib_resources on Python 3.6) Signed-off-by: Simon Glass --- (no changes since v1) tools/binman/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/control.py b/tools/binman/control.py index 68597c4e7792..7e2dd3541b96 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -9,7 +9,7 @@ from collections import OrderedDict import glob try: import importlib.resources -except ImportError: +except ImportError: # pragma: no cover # for Python 3.6 import importlib_resources import os -- 2.41.0.390.g38632f3daf-goog