tests/hf_adapter_toggle: ruff format collapse
- SHA
b54c73ec3afad422ffe623afbfff524183afdebd- Parents
-
cb64572 - Tree
8f9aade
b54c73e
b54c73ec3afad422ffe623afbfff524183afdebdcb64572
8f9aade| Status | File | + | - |
|---|---|---|---|
| M |
tests/integration/test_hf_adapter_toggle.py
|
1 | 3 |
tests/integration/test_hf_adapter_toggle.pymodified@@ -113,9 +113,7 @@ def test_roundtrip_toggle_restores_base(tiny_model_dir: Path, random_adapter: Pa | ||
| 113 | 113 | backend.close() |
| 114 | 114 | |
| 115 | 115 | |
| 116 | -def test_disable_re_enable_bit_identical_logits( | |
| 117 | - tiny_model_dir: Path, random_adapter: Path | |
| 118 | -) -> None: | |
| 116 | +def test_disable_re_enable_bit_identical_logits(tiny_model_dir: Path, random_adapter: Path) -> None: | |
| 119 | 117 | """B15 mitigation: ft → base → ft produces bit-identical ft logits. |
| 120 | 118 | |
| 121 | 119 | Subtle state corruption inside ``disable_adapter()`` (e.g. a wrong |