aboutsummaryrefslogtreecommitdiff
path: root/debug/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'debug/testlib.py')
-rw-r--r--debug/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 63cc49c..435b41b 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -432,7 +432,7 @@ class Openocd:
self.command_count += 1
self.process.stdin.write(magic + b"\n")
self.process.stdin.flush()
- m = self.expect(rb"(.*)^> " + re.escape(magic))
+ m = self.expect(rb"(.*)^>\s*" + re.escape(magic))
return m.group(1)
def expect(self, regex, message=None):