From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id 0D3093858D28; Thu, 21 Jul 2022 12:55:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D3093858D28 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/python] Fix typo in test_python X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: c57ac5108667b52f5cde6c1bbdd4a1496626c1a8 X-Git-Newrev: 5c3392f9811a9cc46580401cde99337e14cab6e6 Message-Id: <20220721125504.0D3093858D28@sourceware.org> Date: Thu, 21 Jul 2022 12:55:04 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2022 12:55:04 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5c3392f9811a= 9cc46580401cde99337e14cab6e6 commit 5c3392f9811a9cc46580401cde99337e14cab6e6 Author: Tom de Vries Date: Thu Jul 21 14:55:00 2022 +0200 [gdb/python] Fix typo in test_python =20 Fix typo in ref_output_0 variable in test_python. =20 Tested by running the selftest on x86_64-linux with python 3.11. Diff: --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/python/python.c b/gdb/python/python.c index c0312413a73..c7d4157b70c 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -2242,7 +2242,7 @@ test_python () SELF_CHECK (saw_exception); std::string ref_output_0 ("Traceback (most recent call last):\n" " File \"\", line 0, in \n" - " KeyboardInterrupt\n"); + "KeyboardInterrupt\n"); std::string ref_output_1 ("Traceback (most recent call last):\n" " File \"\", line 1, in \n" "KeyboardInterrupt\n");