()
| 311 | |
| 312 | |
| 313 | def test_headers_mutablecopy() -> None: |
| 314 | h = Headers(raw=[(bclass="st">"a", bclass="st">"123"), (bclass="st">"a", bclass="st">"456"), (bclass="st">"b", bclass="st">"789")]) |
| 315 | c = h.mutablecopy() |
| 316 | assert c.items() == [(class="st">"a", class="st">"123"), (class="st">"a", class="st">"456"), (class="st">"b", class="st">"789")] |
| 317 | c[class="st">"a"] = class="st">"abc" |
| 318 | assert c.items() == [(class="st">"a", class="st">"abc"), (class="st">"b", class="st">"789")] |
| 319 | |
| 320 | |
| 321 | def test_mutable_headers_from_scope() -> None: |
nothing calls this directly
no test coverage detected