()
| 301 | |
| 302 | |
| 303 | def test_list_deep_mro_classes(): |
| 304 | class Grand(object): |
| 305 | pass |
| 306 | |
| 307 | class Father(Grand): |
| 308 | pass |
| 309 | |
| 310 | class Son(Father): |
| 311 | pass |
| 312 | |
| 313 | output = inspect_format(Son(), short=True) |
| 314 | assert_multiline_match(output, r''' |
| 315 | value: <test_inspect.test_list_deep_mro_classes.<locals>.Son object at .*> |
| 316 | type: test_inspect.Son |
| 317 | parents: test_inspect.Father, test_inspect.Grand |
| 318 | ''') |
| 319 | |
| 320 | |
| 321 | def test_pydantic_class(): |
nothing calls this directly
no test coverage detected