Commit 113774c
UN-4020 [FIX] Drop the no-op yield from the Bedrock Mantle test fixture
`_isolated_litellm_env` had nothing to do after the yield -- `monkeypatch`
undoes its own `delenv` calls at teardown -- so being a generator bought
nothing and read as an empty teardown block. Made it a plain function
returning None and dropped the now-unused `Iterator` import.
Behaviour is unchanged: a non-generator autouse fixture still runs, verified
by breaking its precondition (`LITELLM_LOCAL_MODEL_COST_MAP=False`), which
still fails every test in the file on the registry-pin assertion.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 742a705 commit 113774c
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
0 commit comments