Commit d64831b
fix test: prevent MagicMock auto-creating VLM attributes
Use spec=[] on mock model.model to prevent hasattr from
falsely detecting language_model attribute in wrap_fsdp2 tests.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c28190a commit d64831b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments