[PATCH 4/6] parser tests: test parsing of interesting characters

Stephen Finucane stephenfinucane at hotmail.com
Mon Sep 26 01:12:48 AEST 2016


On 23 Sep 10:06, Daniel Axtens wrote:
> We have 2 new tests:
>  - One with a header with a character that is neither 7-bit ASCII
>    nor UTF-8.
>  - One with UTF-8 in the body.
> 
> This also requires us to change how we open files on Python 3. Use
> the binary file and message_from_binary_file setup under Python 3.
> 
> CC: Thomas Monjalon <thomas.monjalon at 6wind.com> # for the original header email
> CC: Johannes Berg <johannes at sipsolutions.net> # for the UTF-8 email
> Signed-off-by: Daniel Axtens <dja at axtens.net>

This looks good to me.

Reviewed-by: Stephen Finucane <stephenfinucane at hotmail.com>


More information about the Patchwork mailing list