()
| 734 | |
| 735 | |
| 736 | def test_validate(): |
| 737 | with pytest.warns( |
| 738 | PydanticDeprecatedSince20, match='^The `validate` method is deprecated; use `model_validate` instead.' |
| 739 | ): |
| 740 | m = SimpleModel.validate({'x': 1}) |
| 741 | |
| 742 | assert m.model_dump() == {'x': 1} |
| 743 | |
| 744 | |
| 745 | def test_update_forward_refs(): |
nothing calls this directly
no test coverage detected