()
| 338 | |
| 339 | |
| 340 | def test_html_method(): |
| 341 | class ObjectWithHTML: |
| 342 | def __html__(self): |
| 343 | return "<p>test</p>" |
| 344 | |
| 345 | result = json.dumps(ObjectWithHTML()) |
| 346 | assert result == '"<p>test</p>"' |
nothing calls this directly
no test coverage detected