From: Tom de Vries Date: Thu, 21 Jul 2022 12:55:00 +0000 (+0200) Subject: [gdb/python] Fix typo in test_python X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c3392f9811a9cc46580401cde99337e14cab6e6;p=binutils-gdb.git [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 --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");