From patchwork Mon Feb 12 13:35:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 1897729 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=RuJI1vnh; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TYQT54qRSz20RF for ; Tue, 13 Feb 2024 00:35:53 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9EC123858C41 for ; Mon, 12 Feb 2024 13:35:51 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id E93B43858C2D for ; Mon, 12 Feb 2024 13:35:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E93B43858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E93B43858C2D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707744936; cv=none; b=KiQaKbVhvDnqay4SQ5atmWbFimynWTeZlYVOrZSzWDcHsN5PA6ENcCKQRYjJeIKNXPpB8Yo8d98qKCSGC5mT/JZSqbJwW0QTkczUFIxJ9AE6KJT+TZ0jXSWp+6mZCCd1eYztN7FEHtj+10YZy5By+BNClK+vLW6YHsULS5hsLl8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707744936; c=relaxed/simple; bh=uB2pOuKs6NE05I3vFBhSmgnAXg7xsgQ0tLkgJNqCcBo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=k9Pbi0sQu1ixyWXyaddEEKyNj1ksQ2oTlYTTVHJQTZKE6E08G00B5RUB9cKY5lE9YzseFGmvKgjm3QEl/7udZ4qSI/T5Rx0FvHGZ+gmAiWcN7XQ95x2HvpmQlYAmZtwfybqjhzJkBb6dCLPbpnQtkDO4iodRWO+qb8BeWTfSp7I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-5cf2d73a183so2817639a12.1 for ; Mon, 12 Feb 2024 05:35:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707744934; x=1708349734; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=CegEtfTUpscNyudGsXQFaIsksYzFm1sGvqPnj/buZZk=; b=RuJI1vnhCBwUWuQtvYFC9dVxaWZsg0yVmEOAKrdlfwLzRwqm1JnsoJYMoDIKCwl8x0 kk4TrxOqhENme5oV1wqok2CRCsbKnUhFbCM3SwtP0+lHCJV9iTy6D4mVPg9KlJJHSp7y x7y3qz88NdrJE+NkWzfYJQDTLVsOkL3Ze3uzv3KxmZ6FnstZVm5zBcM4QLDaylnZNxWV LGKOeqffO/NjaNiAV+IkryEL9s7hmej4H0cnCS7DvZUDHw9704PtF4jkr1YtSPGcdaLf msUomGqa0vMhiXG2+AZPJoEtOFK0GpnSnn7gGASrmeHx1xSpGQzMupTJzxPGZADCjrEQ d/ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707744934; x=1708349734; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CegEtfTUpscNyudGsXQFaIsksYzFm1sGvqPnj/buZZk=; b=tTZtUCm8qUdOiwolq3h20gEOVlGJJ92nEdSg69HTgIOOab03Lzhu+DAbQuZyN9yt3F V3K6YqHtyk8cnFtdCMMHSvnpRMkhqLZJREyzWz8tPJT7Y+t0a0UJK+Dc6JcSaKh6MruI QOUH+6xB1TClfLDkW96wTYQU1VNU+CkzBWXCzsRfoq+KFF9wDr/QIZ0Ux7kjapgtkTEZ xKV2OnLzuaX5QIFiOXLK2iolKKUEj0kJ0VgweWFzypok92NtixhmOdH1FENrL7nqVmYd LOAKFOoYgPhrPqv2n7dA2EAOGkVDB7oHbh6832gbxS39AyBvVPxkaWBPgoCaI8GAFCQM xnFw== X-Gm-Message-State: AOJu0Yy/q4c1dWqbXRgyPbYT2mi17kG/H1UsBpAQRExUPjf4iftdN/sQ PbnQc2hhmwcHb4eU8ST5pMLlvTdUi4oyvkZyISTmVkJ8Dtt39vwsyrMR/P0D X-Google-Smtp-Source: AGHT+IEKk4liYK52msZOaRQX8SB/wucudRhzd2mr2itwq+VZY3hWK2eUOsD/VOILcLB5pDncSaHvBQ== X-Received: by 2002:a17:90b:3cf:b0:296:13d5:110 with SMTP id go15-20020a17090b03cf00b0029613d50110mr9169133pjb.17.1707744933624; Mon, 12 Feb 2024 05:35:33 -0800 (PST) Received: from gnu-cfl-3.localdomain ([172.56.168.224]) by smtp.gmail.com with ESMTPSA id qn13-20020a17090b3d4d00b00295c8c120dbsm506460pjb.20.2024.02.12.05.35.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 05:35:33 -0800 (PST) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id 28959740098 for ; Mon, 12 Feb 2024 05:35:32 -0800 (PST) From: "H.J. Lu" To: libc-alpha@sourceware.org Subject: [PATCH] test_printers_common.py: Remove invalid escape sequence Date: Mon, 12 Feb 2024 05:35:32 -0800 Message-ID: <20240212133532.159366-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3020.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Remove '\(' and '\)' from test_printers_common.py which aren't valid Python escape sequences. This fixes the test warning: .../scripts/test_printers_common.py:101: SyntaxWarning: invalid escape sequence '\(' --- scripts/test_printers_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py index bf700966ac..7085a2fbc2 100644 --- a/scripts/test_printers_common.py +++ b/scripts/test_printers_common.py @@ -98,7 +98,7 @@ try: # If everything's ok, spawn the gdb process we'll use for testing. gdb = pexpect.spawn(gdb_invocation, echo=False, timeout=timeout, encoding=encoding) - gdb_prompt = u'\(gdb\)' + gdb_prompt = u'(gdb)' gdb.expect(gdb_prompt) except pexpect.ExceptionPexpect as exception: