##// END OF EJS Templates
run-tests: end doctest block when seeing a non-command
Idan Kamara -
r15248:3efbb5e8 default
parent child Browse files
Show More
@@ -525,7 +525,7 b' def transformtst(lines):'
525 inblock = False
525 inblock = False
526 for l in lines:
526 for l in lines:
527 if inblock:
527 if inblock:
528 if l.startswith(' $ '):
528 if l.startswith(' $ ') or not l.startswith(' '):
529 inblock = False
529 inblock = False
530 yield ' > EOF\n'
530 yield ' > EOF\n'
531 yield l
531 yield l
General Comments 0
You need to be logged in to leave comments. Login now