()
| 9 | |
| 10 | |
| 11 | def test_inspect_object_deprecated(): |
| 12 | with pytest.warns(DeprecationWarning, match="inspect_object is deprecated"): |
| 13 | func = generics.inspect_object |
| 14 | # The returned object still behaves as before. |
| 15 | with pytest.raises(TryNext): |
| 16 | func(object()) |
| 17 | |
| 18 | |
| 19 | def test_complete_object_not_deprecated(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…