@@ -50,6 +50,7 @@ def status_line(self, match: Match[str]) -> Generator[Tok, None, None]:
5050 for k , color in (
5151 ('failed' , Color .Red ),
5252 ('passed' , Color .Green ),
53+ ('subpassed' , Color .Green ),
5354 ('skipped' , Color .Yellow ),
5455 ('deselected' , Color .Yellow ),
5556 ('xfailed' , Color .Yellow ),
@@ -89,6 +90,7 @@ def status_line(self, match: Match[str]) -> Generator[Tok, None, None]:
8990 r'^(?P<before>=+ )?'
9091 r'(?P<failed>\d+ failed)?(?P<failedcomma>, )?'
9192 r'(?P<passed>\d+ passed)?(?P<passedcomma>, )?'
93+ r'(?P<subpassed>\d+ subtests passed)?(?P<subpassedcomma>, )?'
9294 r'(?P<skipped>\d+ skipped)?(?P<skippedcomma>, )?'
9395 r'(?P<deselected>\d+ deselected)?(?P<deselectedcomma>, )?'
9496 r'(?P<xfailed>\d+ xfailed)?(?P<xfailedcomma>, )?'
@@ -104,6 +106,7 @@ def status_line(self, match: Match[str]) -> Generator[Tok, None, None]:
104106 ],
105107 'progress_line' : [
106108 (r'^[^ ]+ (?=[^ \n]+(?: \(.+\))? +\[)' , pygments .token .Text ),
109+ (r'SUBPASSED\([^)]+\)|u' , Color .Green ),
107110 (r'PASSED|\.' , Color .Green ),
108111 (r' +' , pygments .token .Text ),
109112 (r'\n' , pygments .token .Text , '#pop' ),
0 commit comments