Re: [Piglit] [PATCH] tests/sanity: declare encoding of file for python 2

2018-07-14 Thread Vinson Lee
On Wed, Jul 11, 2018 at 9:57 AM, Dylan Baker wrote: > Python 2 assumes that files are encoded ascii unless they declare a > different encoding, python 3 assumes files are encoded utf-8 unless they > declare a different encoding. > > Cc: v...@freedesktop.org > --- > tests/sanity.py | 1 + > 1 file

[Piglit] [PATCH] tests/sanity: declare encoding of file for python 2

2018-07-11 Thread Dylan Baker
Python 2 assumes that files are encoded ascii unless they declare a different encoding, python 3 assumes files are encoded utf-8 unless they declare a different encoding. Cc: v...@freedesktop.org --- tests/sanity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sanity.py b/tests/sanit