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

Class A

IPython/utils/tests/test_wildcard.py:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130 def test_dict_dir(self):
131 class A(object):
132 def __init__(self):
133 self.a = 1
134 self.b = 2
135 def __getattribute__(self, name):
136 if name=="a":
137 raise AttributeError
138 return object.__getattribute__(self, name)
139
140 a = A()
141 adict = wildcard.dict_dir(a)

Callers 1

test_dict_dirMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_dict_dirMethod · 0.56