()
| 666 | |
| 667 | |
| 668 | def test_dict(): |
| 669 | m = SimpleModel(x=1) |
| 670 | with pytest.warns(PydanticDeprecatedSince20, match=r'^The `dict` method is deprecated; use `model_dump` instead\.'): |
| 671 | assert m.dict() == {'x': 1} |
| 672 | |
| 673 | |
| 674 | def test_json(): |
nothing calls this directly
no test coverage detected