def METHOD_NAME():
    """
    Test reading an attribute which returns non-UTF-8 bytes
    """
    with patch(
        "salt.utils.mac_utils.execute_return_result",
        MagicMock(
            side_effect=UnicodeDecodeError("UTF-8", b"\xd1expected results", 0, 1, "")
        ),
    ):
        assert xattr.read("/path/to/file", "com.attr") == "�expected results"