()
| 363 | |
| 364 | |
| 365 | def test_headers_mutablecopy() -> None: |
| 366 | h = Headers(raw=[(b"a", b"123"), (b"a", b"456"), (b"b", b"789")]) |
| 367 | c = h.mutablecopy() |
| 368 | assert c.items() == [("a", "123"), ("a", "456"), ("b", "789")] |
| 369 | c["a"] = "abc" |
| 370 | assert c.items() == [("a", "abc"), ("b", "789")] |
| 371 | |
| 372 | |
| 373 | def test_mutable_headers_from_scope() -> None: |
nothing calls this directly
no test coverage detected