# Skip all tests if Python scripting is not enabled.
if { [skip_python_tests] } { continue }
-gdb_py_test_multiple "install new_thread event handler" \
+gdb_test_multiline "install new_thread event handler" \
"python" "" \
"seen_a_thread = False" "" \
"def thread_handler(evt):" "" \