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

Method test_unbound_method

IPython/lib/tests/test_pretty.py:223–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 self.assertEqual(last2, [' 999: 999,', ' ...}'])
222
223 def test_unbound_method(self):
224 output = pretty.pretty(MyObj.somemethod)
225 self.assertIn('MyObj.somemethod', output)
226
227
228class MetaClass(type):

Callers

nothing calls this directly

Calls 1

prettyMethod · 0.80

Tested by

no test coverage detected