From 5c3392f9811a9cc46580401cde99337e14cab6e6 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 21 Jul 2022 14:55:00 +0200 Subject: [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. --- gdb/python/python.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/python/python.c') diff --git a/gdb/python/python.c b/gdb/python/python.c index c031241..c7d4157 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"); -- cgit v1.1