mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
Fix Python help() test for Python 3
The message displayed when using help() changed a bit with time, so this adjusts the test accordingly. gdb/testsuite/ChangeLog: * gdb.python/python.exp: Change expected reply to help().
This commit is contained in:
@ -67,7 +67,7 @@ gdb_py_test_multiple "multi-line python command" \
|
||||
with_test_prefix "python interactive help" {
|
||||
set test "python; help(); end"
|
||||
gdb_test_multiple "python\nhelp()\nend" $test {
|
||||
-re "online help utility.*help> $" {
|
||||
-re ".*help utility.*help> $" {
|
||||
pass $test
|
||||
|
||||
# The "quit" must be seen on the output. A buggy GDB
|
||||
|
Reference in New Issue
Block a user