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

Function missing

test/test_strict_box.py:325–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323
324def test_intact_mapping_existing_key_never_runs_missing_factory():
325 def missing():
326 raise AssertionError("missing must not run")
327
328 nested = defaultdict(missing, value=1)
329 item = StrictBox(parent=nested, box_dots=True, box_intact_types=(defaultdict,))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected