One corpus with markers; expectations are markers, not line numbers. ``expect[m] = (decl_file, decl_marker)`` must bind (compile-time certain) ``forbid`` markers that must NOT bind (compile-time certain, any target) ``forbid_pairs[m] = (decl_file, decl_marker)`` must not bind to
| 41 | |
| 42 | @dataclass(frozen=True) |
| 43 | class Fixture: |
| 44 | """One corpus with markers; expectations are markers, not line numbers. |
| 45 | |
| 46 | ``expect[m] = (decl_file, decl_marker)`` must bind (compile-time certain) |
| 47 | ``forbid`` markers that must NOT bind (compile-time certain, any target) |
| 48 | ``forbid_pairs[m] = (decl_file, decl_marker)`` must not bind to that target |
| 49 | ``optional`` markers whose truth needs a BCL symbol table (never scored) |
| 50 | """ |
| 51 | |
| 52 | files: dict[str, str] |
| 53 | expect: dict[str, tuple[str, str]] = field(default_factory=dict) |
| 54 | forbid: list[str] = field(default_factory=list) |
| 55 | forbid_pairs: dict[str, tuple[str, str]] = field(default_factory=dict) |
| 56 | optional: list[str] = field(default_factory=list) |
| 57 | note: str = "" |
| 58 | |
| 59 | |
| 60 | FIXTURES: dict[str, Fixture] = { |
no outgoing calls
no test coverage detected