| 445 | |
| 446 | def test_invalid_json_schema_extra(): |
| 447 | class MyModel(BaseModel): |
| 448 | model_config = ConfigDict(json_schema_extra=1) |
| 449 | |
| 450 | name: str |
| 451 | |
| 452 | with pytest.raises( |
| 453 | ValueError, match=re.escape("model_config['json_schema_extra']=1 should be a dict, callable, or None") |
nothing calls this directly
no test coverage detected