MCPcopy Create free account
hub / github.com/cdgriffith/Box / bad

Method bad

test/test_coverage_paths.py:56–57  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

54 assert Box(default_box=True, default_box_attr=keyword).hi == "hi:Box"
55
56 def bad(name):
57 return name
58
59 with pytest.raises(BoxError, match="only have the required arguments .key. and .box_instance., not .name."):
60 Box(default_box=True, default_box_attr=bad).hi

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected