public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/python] Fix typo in test_python
@ 2022-07-21 12:55 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-07-21 12:55 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5c3392f9811a9cc46580401cde99337e14cab6e6

commit 5c3392f9811a9cc46580401cde99337e14cab6e6
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Jul 21 14:55:00 2022 +0200

    [gdb/python] Fix typo in test_python
    
    Fix typo in ref_output_0 variable in test_python.
    
    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 \"<string>\", line 0, in <module>\n"
-			      " KeyboardInterrupt\n");
+			      "KeyboardInterrupt\n");
     std::string ref_output_1 ("Traceback (most recent call last):\n"
 			      "  File \"<string>\", line 1, in <module>\n"
 			      "KeyboardInterrupt\n");


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-21 12:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 12:55 [binutils-gdb] [gdb/python] Fix typo in test_python Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).