reports: improve a type annotation
This commit is contained in:
parent
7d306e9e86
commit
73c4105230
|
@ -358,7 +358,9 @@ class CollectReport(BaseReport):
|
||||||
self,
|
self,
|
||||||
nodeid: str,
|
nodeid: str,
|
||||||
outcome: "Literal['passed', 'failed', 'skipped']",
|
outcome: "Literal['passed', 'failed', 'skipped']",
|
||||||
longrepr,
|
longrepr: Union[
|
||||||
|
None, ExceptionInfo[BaseException], Tuple[str, int, str], str, TerminalRepr
|
||||||
|
],
|
||||||
result: Optional[List[Union[Item, Collector]]],
|
result: Optional[List[Union[Item, Collector]]],
|
||||||
sections: Iterable[Tuple[str, str]] = (),
|
sections: Iterable[Tuple[str, str]] = (),
|
||||||
**extra,
|
**extra,
|
||||||
|
|
Loading…
Reference in New Issue