Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ SubClass
Class
SubClass
IPython/utils/tests/test_dir2.py:21–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
def
test_SubClass():
20
21
class
SubClass(Base):
22
y = 2
23
24
res = dir2(SubClass())
25
assert (
'y'
in res)
Callers
2
test_SubClass
Function · 0.85
test_SubClass_with_trait_names_attr
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_SubClass
Function · 0.68
test_SubClass_with_trait_names_attr
Function · 0.68