MCPcopy Create free account
hub / github.com/hynek/structlog / test_proxies_unbind

Method test_proxies_unbind

tests/test_stdlib.py:366–372  ·  view source on GitHub ↗

Unbind calls the correct unbind.

(self)

Source from the content-addressed store, hash-verified

364 assert {"b": 23} == get_context(bl)
365
366 def test_proxies_unbind(self):
367 """
368 Unbind calls the correct unbind.
369 """
370 bl = build_bl().bind(a=42).unbind("a")
371
372 assert {} == get_context(bl)
373
374 def test_proxies_try_unbind(self):
375 """

Callers

nothing calls this directly

Calls 4

get_contextFunction · 0.90
build_blFunction · 0.70
unbindMethod · 0.45
bindMethod · 0.45

Tested by

no test coverage detected