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

Function test_base

tests/test_dir2.py:11–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10
11def test_base():
12 res = dir2(Base())
13 assert "x" in res
14 assert "z" in res
15 assert "y" not in res
16 assert "__class__" in res
17 assert res.count("x") == 1
18 assert res.count("__class__") == 1
19
20
21def test_SubClass():

Callers

nothing calls this directly

Calls 2

dir2Function · 0.90
BaseClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…