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