def METHOD_NAME(
    self, value: bytes | str, expect: str
) -> None:
    with pytest.deprecated_call(match=r"urllib3 v2\.1\.0"):
        param = format_header_param_rfc2231("filename", value)
    assert param == expect