MCPcopy Create free account
hub / github.com/ipython/ipython / test_info_serialliar

Function test_info_serialliar

IPython/core/tests/test_oinspect.py:213–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 inspector.info(NoBoolCall())
212
213def test_info_serialliar():
214 fib_tracker = [0]
215 inspector.info(SerialLiar(fib_tracker))
216
217 # Nested attribute access should be cut off at 100 levels deep to avoid
218 # infinite loops: https://github.com/ipython/ipython/issues/9122
219 nt.assert_less(fib_tracker[0], 9000)
220
221def support_function_one(x, y=2, *a, **kw):
222 """A simple function."""

Callers

nothing calls this directly

Calls 2

SerialLiarClass · 0.85
infoMethod · 0.80

Tested by

no test coverage detected