Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ test_metaclass_repr
Function
test_metaclass_repr
IPython/lib/tests/test_pretty.py:239–241 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
237
238
239
def
test_metaclass_repr():
240
output = pretty.pretty(ClassWithMeta)
241
nt.assert_equal(output,
"[CUSTOM REPR FOR CLASS ClassWithMeta]"
)
242
243
244
def
test_unicode_repr():
Callers
nothing calls this directly
Calls
1
pretty
Method · 0.80
Tested by
no test coverage detected