Commit 39464b65 authored by Jérome Perrin's avatar Jérome Perrin

fixup! PyTest.summaryf: better detection of summary line

fix a wrong construct being syntax error on python2
parent f89c3b55
Pipeline #22196 failed with stage
in 0 seconds
......@@ -499,7 +499,7 @@ class PyTest:
# ...
textv = out.splitlines()
for l in reversed(textv):
if re.match(rb'^====* .*(failed|passed|skipped|error|no tests).* ====*$', l):
if re.match(br'^====* .*(failed|passed|skipped|error|no tests).* ====*$', l):
pytail = l
break
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment