Skip to content

Commit 4b3786a

Browse files
fixup! Relax regex to accept decimal numbers
1 parent aab5adf commit 4b3786a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def run_python_os_funcionality(self):
131131
"Make sure there is no thread 0x333333333 after we unload the python OS plug-in",
132132
)
133133

134-
tid_regex = re.compile("tid = (0x[0-9a-fA-F]+)")
134+
tid_regex = re.compile(r"tid = ((0x)?[0-9a-fA-F]+)")
135135

136136
def get_tid_from_thread_info_command(self, thread, use_backing_thread):
137137
interp = self.dbg.GetCommandInterpreter()

0 commit comments

Comments
 (0)