Skip to content

Commit

Permalink
Adjust test_json_schema() for Pydantic 2.9
Browse files Browse the repository at this point in the history
Fixes #213.
  • Loading branch information
musicinmybrain committed Sep 11, 2024
1 parent 55a01b2 commit b8a0629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_coordinate.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class Model(BaseModel):
'type': 'object',
}
},
'properties': {'value': {'allOf': [{'$ref': '#/$defs/Coordinate'}], 'title': 'Value'}},
'properties': {'value': {'$ref': '#/$defs/Coordinate', 'title': 'Value'}},
'required': ['value'],
'title': 'Model',
'type': 'object',
Expand Down

0 comments on commit b8a0629

Please sign in to comment.