MCPcopy Create free account
hub / github.com/ipython/traitlets / test_bunch

Function test_bunch

tests/utils/test_bunch.py:6–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def test_bunch():
7 b = Bunch(x=5, y=10)
8 assert "y" in b
9 assert "x" in b
10 assert b.x == 5
11 b["a"] = "hi"
12 assert b.a == "hi"
13
14
15def test_bunch_dir():

Callers

nothing calls this directly

Calls 1

BunchClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…