diff options
Diffstat (limited to 'gdb/testsuite/gdb.python/py-frame.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-frame.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-frame.exp b/gdb/testsuite/gdb.python/py-frame.exp index 806da940e2f..63e4afb22d1 100644 --- a/gdb/testsuite/gdb.python/py-frame.exp +++ b/gdb/testsuite/gdb.python/py-frame.exp @@ -40,7 +40,7 @@ gdb_py_test_silent_cmd "python bf1 = gdb.selected_frame ()" "get frame" 0 # Test Frame.architecture() method. gdb_py_test_silent_cmd "python show_arch_str = gdb.execute(\"show architecture\", to_string=True)" "show arch" 0 -gdb_test "python print bf1.architecture().name() in show_arch_str" "True" "test Frame.architecture()" +gdb_test "python print (bf1.architecture().name() in show_arch_str)" "True" "test Frame.architecture()" # First test that read_var is unaffected by PR 11036 changes. gdb_test "python print (bf1.read_var(\"i\"))" "\"stuff\"" "test i" |