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

Function test_pprint_nomod

tests/test_pretty.py:158–163  ·  view source on GitHub ↗

Test that pprint works for classes with no __module__.

()

Source from the content-addressed store, hash-verified

156
157
158def test_pprint_nomod():
159 """
160 Test that pprint works for classes with no __module__.
161 """
162 output = pretty.pretty(NoModule)
163 assert output == "NoModule"
164
165
166def test_pprint_break():

Callers

nothing calls this directly

Calls 1

prettyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…