aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/gdb-python.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/gdb-python.exp')
-rw-r--r--gdb/testsuite/lib/gdb-python.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb-python.exp b/gdb/testsuite/lib/gdb-python.exp
index 6ad20c2..e27d5c1 100644
--- a/gdb/testsuite/lib/gdb-python.exp
+++ b/gdb/testsuite/lib/gdb-python.exp
@@ -58,7 +58,7 @@ proc get_python_valueof { exp default {test ""} } {
proc gdb_py_module_available { name } {
set available "unknown"
gdb_test_multiple "python import ${name}" "" {
- -re -wrap "ModuleNotFoundError: No module named '${name}'.*" {
+ -re -wrap "ModuleNotFoundError.*: No module named '${name}'.*" {
set available false
}
-re -wrap "ImportError: No module named '?${name}'?.*" {