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

Function test_pprint_break

IPython/lib/tests/test_pretty.py:137–143  ·  view source on GitHub ↗

Test that p.break_ produces expected output

()

Source from the content-addressed store, hash-verified

135 nt.assert_equal(output, 'NoModule')
136
137def test_pprint_break():
138 """
139 Test that p.break_ produces expected output
140 """
141 output = pretty.pretty(Breaking())
142 expected = "TG: Breaking(\n ):"
143 nt.assert_equal(output, expected)
144
145def test_pprint_break_repr():
146 """

Callers

nothing calls this directly

Calls 2

BreakingClass · 0.85
prettyMethod · 0.80

Tested by

no test coverage detected