[Piglit] [Bug 107184] SyntaxError: Non-ASCII character '\xc2' in file tests/sanity.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 18 08:01:30 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107184
Vinson Lee <vlee at freedesktop.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Vinson Lee <vlee at freedesktop.org> ---
commit 38860d93444bd4bd7e610fa5b491b6d85f702038
Author: Dylan Baker <dylan at pnwbakers.com>
Date: Wed Jul 11 09:56:34 2018 -0700
tests/sanity: declare encoding of file for python 2
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.
Tested-by: Vinson Lee <vlee at freedesktop.org>
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20180718/0a303e0f/attachment.html>
More information about the Piglit
mailing list