State for the assertion plugin.
| 118 | |
| 119 | |
| 120 | class AssertionState: |
| 121 | """State for the assertion plugin.""" |
| 122 | |
| 123 | def __init__(self, config: Config, mode) -> None: |
| 124 | self.mode = mode |
| 125 | self.trace = config.trace.root.get("assertion") |
| 126 | self.hook: rewrite.AssertionRewritingHook | None = None |
| 127 | |
| 128 | |
| 129 | def install_importhook(config: Config) -> rewrite.AssertionRewritingHook: |
no outgoing calls