From patchwork Mon Mar 27 08:04:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 75249 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1343329vqo; Mon, 27 Mar 2023 01:05:02 -0700 (PDT) X-Google-Smtp-Source: AKy350aXWLUwXEySdkoBJcv6I5UbBEqee2n+JKeemLQJBBLOObhXA2teweh2TiwQeiTBSiokcnPQ X-Received: by 2002:a17:907:a485:b0:8b2:abcd:624 with SMTP id vp5-20020a170907a48500b008b2abcd0624mr13621041ejc.0.1679904302285; Mon, 27 Mar 2023 01:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679904302; cv=none; d=google.com; s=arc-20160816; b=t57SPoQdG0H2/P9/V0j+gCz2JEMkk7DmH4/y8BriE8OokmsHpS0itOTricd4811DdM hzISZ0ldTK382pP9KJYo6LVJwqX2JSm6FbTmE1NtCEqoEa2i2dT7WLzqQAxlEimKGlDI nHvvzc4NnwgK6yEhosLtHz1mrpJo/1Hx9SnzK6SVlFX53rRItJRB9Ej8RdDvuOsFAc8M A5VPQiFo3tqqTjzXtYXvVp4LFGEazXbU6E6v2fO79AZDfr0M35IL2camMYv0CdZdNd+M 1Lxj2W+4+CT5+UfLsFodVY1EAfJyF5guqiW6smknUWyIyaqI4PW2/PGd46M9AYL/Vhg+ HFBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding:cc :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=jehcgBOrhz+XhaP08V6GCKMYktoyUpDkOPU9i6pdsXg=; b=uUV+tDHKa51uNteaIE+Ah1EjZGoUtlw4l2ICoqRLwfMDnU5ZT7Z/1qwW8iyy4YXZ4z Pn4csgfI/I3n5HbfE5J8MhDJsV60DtnQnU4P4ZLxz5/tdrkb9g6mdpQoeKIZ12ZU+Ro7 6C3JwPyf9Cv8EHSClcrWXihdD25pppO+3Hv28zR5+21iL8KZVg/mb3aZ5lAfTkYW3z5d IyokxF0ZVeSQPHq3ySrx6XBUk82qBIPe9vtgkAVe7S9uKBVstRjkiAf7vcIZr4zSSEZa 0d0+YjTEj/QQ+1UCH5NzR6u/DadLbFs86XwK3Zyqf+4J5Qnd0H7DENUyqtmVM12FH2M7 hnaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=fPPArl6g; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ba15-20020a0564021acf00b00502259b5834si7150971edb.564.2023.03.27.01.05.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 01:05:02 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=fPPArl6g; dkim=neutral (no key) header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D2D72385F032 for ; Mon, 27 Mar 2023 08:04:46 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 20FE13858D37 for ; Mon, 27 Mar 2023 08:04:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 20FE13858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 22AE31F8A8; Mon, 27 Mar 2023 08:04:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679904256; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jehcgBOrhz+XhaP08V6GCKMYktoyUpDkOPU9i6pdsXg=; b=fPPArl6gEQ3UCeVoFlidA9o0luJHsVVG2zwMwkRUvHIiK3Oti82SkA9ZsgV0Uhb8c4Ltoy 10A1DtozEWMJ5Ij0VLVoipkKLAnxij6/vccA0PnadsCdHrXiI7iPfYpsbpuGRRepSGlHBs aRQ8dB5xx/d1MkbO9rLCmyN0ZerrUfQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679904256; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jehcgBOrhz+XhaP08V6GCKMYktoyUpDkOPU9i6pdsXg=; b=jONlb8ZDOdf7x1X3UlqCOc51mrDNoE/Q9V5RX3TRvfN9nANstA5gjeuveQAbLPUbF6XhoO TfUudikFWzf2NMBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 103C613329; Mon, 27 Mar 2023 08:04:16 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8QevAgBOIWSENgAAMHmgww (envelope-from ); Mon, 27 Mar 2023 08:04:16 +0000 Message-ID: Date: Mon, 27 Mar 2023 10:04:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH (pushed)] fix: pytest error To: gcc-patches@gcc.gnu.org Content-Language: en-US Cc: David Malcolm X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761507333643074761?= X-GMAIL-MSGID: =?utf-8?q?1761507333643074761?= Fixes: gcc/testsuite/lib/verify-sarif-file.py:10:27: Q000 Double quotes found but single quotes preferred gcc/testsuite/ChangeLog: * lib/verify-sarif-file.py: Use apostrophes instead of double quotes. --- gcc/testsuite/lib/verify-sarif-file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/lib/verify-sarif-file.py b/gcc/testsuite/lib/verify-sarif-file.py index f1833f3016e..eb6236f564c 100644 --- a/gcc/testsuite/lib/verify-sarif-file.py +++ b/gcc/testsuite/lib/verify-sarif-file.py @@ -7,5 +7,5 @@ import sys sys.tracebacklimit = 0 fname = sys.argv[1] -with open(fname, encoding="utf-8") as f: +with open(fname, encoding='utf-8') as f: json.load(f)