We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b9f8c1 commit 0a44f2dCopy full SHA for 0a44f2d
tests/test_types.py
@@ -1567,8 +1567,8 @@ def test_camelCase_access_raises_attribute_error() -> None:
1567
1568
# Test getting an attribute via camelCase alias raises AttributeError
1569
with pytest.raises(
1570
- ValueError,
1571
- match='"AgentCard" object has no field "defaultInputModes"',
+ AttributeError,
+ match="'AgentCard' object has no attribute 'defaultInputModes'. Did you mean: 'default_input_modes'?",
1572
):
1573
_ = agent_card.defaultInputModes
1574
0 commit comments