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

Function test_pprint_nomod

IPython/lib/tests/test_pretty.py:130–135  ·  view source on GitHub ↗

Test that pprint works for classes with no __module__.

()

Source from the content-addressed store, hash-verified

128 nt.assert_equal(output, 'xxlimited.Null')
129
130def test_pprint_nomod():
131 """
132 Test that pprint works for classes with no __module__.
133 """
134 output = pretty.pretty(NoModule)
135 nt.assert_equal(output, 'NoModule')
136
137def test_pprint_break():
138 """

Callers

nothing calls this directly

Calls 1

prettyMethod · 0.80

Tested by

no test coverage detected