From patchwork Sun Dec 31 23:37:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 83066 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 46628385840D for ; Sun, 31 Dec 2023 23:38:11 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from omta40.uswest2.a.cloudfilter.net (omta40.uswest2.a.cloudfilter.net [35.89.44.39]) by sourceware.org (Postfix) with ESMTPS id B55AD3858C20 for ; Sun, 31 Dec 2023 23:37:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B55AD3858C20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B55AD3858C20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704065868; cv=none; b=Z+cHS9B0xzZStHZZxxAm2dFf6LNi4j5+pH/1F9u7ECaCguIFOGm2ne0Tj98/RDn5N24L69NLvOjc1XK9yPM9WKkpMyjt8or3c0Y5BwA7Mmn6ttd1YQILktJgVl3VquU2d850Q8kB3J64upDu9LGTyZDET5ze4yUaT4wltNA12io= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704065868; c=relaxed/simple; bh=sqXjDICXkYP1Phfc6L8SHQLqDGt7O03FCy9Av3aSsvM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=RS71y/SZ4p0GMtIMjKYYv5t4HL46cmdyfoIVDZ+3H7huk3ROSUYum6C4Xy6MmComKplWOefHjEK3uEJOpZ9+4NR2P7egZK2BHsPzNsbik3luwuIguAzmPm3UvtLDOKZF0zw+73sUVqG199hxrzD68DtXHGaedB1+j5eIpGWvYDw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6003a.ext.cloudfilter.net ([10.0.30.151]) by cmsmtp with ESMTPS id K3znrelb3L9AgK5NJrFJDa; Sun, 31 Dec 2023 23:37:45 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id K5NJr3b22AKScK5NJrsEMn; Sun, 31 Dec 2023 23:37:45 +0000 X-Authority-Analysis: v=2.4 cv=N6w6qkxB c=1 sm=1 tr=0 ts=6591fb49 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=e2cXIFwxEfEA:10 a=Qbun_eYptAEA:10 a=j-Sft5LuD6SQxeSDFLcA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=1lJsA+yvOqb2pAUVmHMOS1DbWlAN+mvzDcnFZWiCdc4=; b=mP0O4ghL5sWFYOqgKckgBgjfKC 2RHCXwaX4kBkoTv/TPqrM3kuabRDj3Jh74UWHlPLCu6sXbxK4feEOkb8u8pA4tmVeyoRzyF0g57rm cY2YzZvX9hUVJhDwTpqJ3iqEH; Received: from 71-211-161-25.hlrn.qwest.net ([71.211.161.25]:56118 helo=localhost.localdomain) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rK5NJ-00051z-0S; Sun, 31 Dec 2023 16:37:45 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [pushed] Run 'black' on tui-window.py Date: Sun, 31 Dec 2023 16:37:35 -0700 Message-ID: <20231231233735.1176104-1-tom@tromey.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.161.25 X-Source-L: No X-Exim-ID: 1rK5NJ-00051z-0S X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-161-25.hlrn.qwest.net (localhost.localdomain) [71.211.161.25]:56118 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNS3Axtv6VpSl++9zy+2BHVeNzgBK1CnPEaNK5AOYsYUDHrZX9gNPD3nRj4uuM6TBlqQYRDhxUlPzwESnDeECIMYpGKKJW3ajGtdOQuJ4Q51EVOd9lv/ xNTjyWCfIDWfDCuGB6X5VvU0hzdoVJMYoNWssu9YFyGOVztt3KgEKLVTSFfLrgTZ0ACxEhYbFXftxv2Pu+EYFGN0XSMoAWlt3VY= X-Spam-Status: No, score=-3022.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, JMQ_SPF_NEUTRAL, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Mark pointed out that a recent patch of mine caused the buildbot to complain about the formatting of some Python test code. This patch re-runs 'black' to fix the problem. --- gdb/testsuite/gdb.python/tui-window.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.python/tui-window.py b/gdb/testsuite/gdb.python/tui-window.py index 47c4403bc48..ebdeaea847d 100644 --- a/gdb/testsuite/gdb.python/tui-window.py +++ b/gdb/testsuite/gdb.python/tui-window.py @@ -32,8 +32,10 @@ class TestWindow: self.win.erase() w = self.win.width h = self.win.height - self.win.write(string="Test: " + str(self.count) + " " + str(w) + "x" + str(h), - full_window=False) + self.win.write( + string="Test: " + str(self.count) + " " + str(w) + "x" + str(h), + full_window=False, + ) self.count = self.count + 1 # Tries to delete the title attribute. GDB will throw an error.