Skip to content

Commit 9cd5da6

Browse files
committed
fix: switch to re.search
1 parent 4d6b0b5 commit 9cd5da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ def HasRun(self, output):
257257
for l in output.output.stdout.splitlines():
258258
logger.info('#' + l)
259259
elif output.HasSkipped():
260-
skip = skip_regex.findall(output.output.stdout)
261-
logger.info('ok %i - %s # skip %s' % (self._done, command, skip[0]))
260+
skip = skip_regex.search(output.output.stdout).group(1)
261+
logger.info('ok %i - %s # skip %s' % (self._done, command, skip))
262262
else:
263263
logger.info('ok %i - %s' % (self._done, command))
264264

0 commit comments

Comments
 (0)