Skip to content

Commit 65b1679

Browse files
nina-msftCopilot
andcommitted
[FIX]: suppress ty invalid-assignment on intentional frozen-config del test
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0cbb94b4-d5d2-4be8-9e5a-ba0e28562070
1 parent 3d47259 commit 65b1679

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/unit/core/test_llm.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_cannot_set_field(self):
6060
def test_cannot_delete_field(self):
6161
cfg = LLMConfig(model="gpt-4o", endpoint="https://api.example.com")
6262
with pytest.raises(AttributeError):
63-
del cfg.model
63+
del cfg.model # ty: ignore[invalid-assignment]
6464

6565

6666
class TestLLMConfigEquality:

0 commit comments

Comments
 (0)