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

Function test_format_config

tests/test_formatters.py:434–446  ·  view source on GitHub ↗

config objects don't pretend to support fancy reprs with lazy attrs

()

Source from the content-addressed store, hash-verified

432
433
434def test_format_config():
435 """config objects don't pretend to support fancy reprs with lazy attrs"""
436 f = HTMLFormatter()
437 cfg = Config()
438 with capture_output() as captured:
439 result = f(cfg)
440 assert result is None
441 assert captured.stderr == ""
442
443 with capture_output() as captured:
444 result = f(Config)
445 assert result is None
446 assert captured.stderr == ""
447
448
449def test_pretty_max_seq_length():

Callers

nothing calls this directly

Calls 3

HTMLFormatterClass · 0.90
capture_outputClass · 0.85
fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…