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 98E5FC77B7A for ; Thu, 1 Jun 2023 16:24:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 19E6986351; Thu, 1 Jun 2023 18:24:32 +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="j1hIPnAY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2931C8633F; Thu, 1 Jun 2023 18:24:30 +0200 (CEST) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 A97CC8615F for ; Thu, 1 Jun 2023 18:24:27 +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-io1-xd31.google.com with SMTP id ca18e2360f4ac-7777bf2c285so1916139f.2 for ; Thu, 01 Jun 2023 09:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1685636666; x=1688228666; 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=+nZbIHWn0Lqw+7sIznfNqxtoq42+e+7eretzJP+1CqM=; b=j1hIPnAY7ExYBa604MQT2d56Y0L+pS0N98bTT8q92as+FSkU3PpCyf/+A9vtldEG9M rl1LNlqZk/1GbKCM5gCK72r3zZtLx5vwaxt+bLS4WKbA3jAt+002dJhbnNeIeoksv1pA Z53oZqZDgDYPxakotITJzw6cqIaNWevRlbbCk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685636666; x=1688228666; 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=+nZbIHWn0Lqw+7sIznfNqxtoq42+e+7eretzJP+1CqM=; b=PgLuJWuUNFAIiKiE7X0arE1+3ggKH0FabtNLr1gw3oQhI2ftxNJH+S8WPHJvpfdwn1 Zt97aruGiSZj3PLyA1oXM5PZUv99JfqfnyReyoQqF3mntkwWOAfvfMLPo3PcSF9SEksY 6ooh+51u1BoUT/hbk5ZlHgn6Da8jwyodT59JK9a7IO+FrD1clIEptuLQxw1h05sWxzX/ gVb8PpRGq3+iowTnB5cG78dR90q3b0v7Bnapr+3H7v1LDlDgBI+GbFICCPcd5nrPAcqQ 9PUxGNH7Sfg3zj/G9ct0/Mq3BTe2aYY3C88rRZHxBdbwmFw/8bDU/q9zKXNE2IDdgXJU FuiQ== X-Gm-Message-State: AC+VfDwnk+ZFyDGlnVpw0HTK0JxNP4I9CY4sWLFEgsNUfr8zeL61WiZI 6yyyolsJ85Q7zKlYaj2Ji5mGtH6agNB46hXnwC4= X-Google-Smtp-Source: ACHHUZ4HybRGQnQx6ktMFT1C+Tbgt0ELNIgM+DBjR55IoABLEECUN1B+uMRxVMRyQ3ifjf6iyuPtQQ== X-Received: by 2002:a05:6e02:6c9:b0:33b:1b4c:69e1 with SMTP id p9-20020a056e0206c900b0033b1b4c69e1mr6458109ils.17.1685636666211; Thu, 01 Jun 2023 09:24:26 -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 l1-20020a922901000000b0033a6e7ee4e3sm3862098ilg.1.2023.06.01.09.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 09:24:25 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass , Alper Nebi Yasak , Jan Kiszka , Neha Malcom Francis , Peng Fan , Philippe Reynes , Stefan Herbrechtsmeier Subject: [PATCH 01/40] binman: Correct coverage gap in control Date: Thu, 1 Jun 2023 10:22:25 -0600 Message-ID: <20230601162404.220488-2-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.rc0.172.g3f132b7071-goog In-Reply-To: <20230601162404.220488-1-sjg@chromium.org> References: <20230601162404.220488-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 --- 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.rc0.172.g3f132b7071-goog