(self)
| 468 | """ |
| 469 | |
| 470 | def __init__(self) -> None: |
| 471 | # The stack is in the dict insertion order. |
| 472 | self.stack: Dict[ |
| 473 | Node, |
| 474 | Tuple[ |
| 475 | # Node's finalizers. |
| 476 | List[Callable[[], object]], |
| 477 | # Node's exception, if its setup raised. |
| 478 | Optional[Union[OutcomeException, Exception]], |
| 479 | ], |
| 480 | ] = {} |
| 481 | |
| 482 | def setup(self, item: Item) -> None: |
| 483 | """Setup objects along the collector chain to the item.""" |
nothing calls this directly
no outgoing calls
no test coverage detected