unbind() raises KeyError if the key is missing.
(self)
| 109 | assert {} == b._context |
| 110 | |
| 111 | def test_unbind_fail(self): |
| 112 | """ |
| 113 | unbind() raises KeyError if the key is missing. |
| 114 | """ |
| 115 | with pytest.raises(KeyError): |
| 116 | build_bl().bind(x=42, y=23).unbind("x", "z") |
| 117 | |
| 118 | def test_try_unbind(self): |
| 119 | """ |