MCPcopy Index your code
hub / github.com/ipython/ipython / test_inspect_object_deprecated

Function test_inspect_object_deprecated

tests/test_generics.py:11–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10
11def 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
19def test_complete_object_not_deprecated():

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…