Commit ab236f9
Fix PR-E1 INV-3 gate fixture scope mismatch (smoke triage)
The Mac smoke run reported INV-3 gate fixture scope mismatch:
session_verifier_pair was @pytest.fixture(scope="module") but
depended on fresh_verifier_factory which is function-scoped in
tests/conftest.py. Pytest forbids module-scoped fixtures from
depending on function-scoped ones \u2014 raises ScopeMismatch.
Inlined the verifier build inside session_verifier_pair so the
module scope is self-contained. No fixture dependency on the
function-scoped factory. Behavior identical: same VerifierConfig
(sink=4, window=64, bf16, CPU), same shared-pair pattern across
the 3 tests in this file.
Co-authored-by: FluffyAIcode <FluffyAIcode@users.noreply.github.com>1 parent ae0947c commit ab236f9
1 file changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
57 | 63 | | |
58 | | - | |
59 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
60 | 79 | | |
61 | 80 | | |
62 | 81 | | |
| |||
0 commit comments