[Piglit] [PATCH 41/44] summary/html: fix python 3 encoding issues.
baker.dylan.c at gmail.com
baker.dylan.c at gmail.com
Wed Jan 27 16:06:49 PST 2016
From: Dylan Baker <baker.dylan.c at gmail.com>
In python 3 the current implementation provides bytes instead of
unicode, but the write mode is set for unicode.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
framework/summary/html_.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/framework/summary/html_.py b/framework/summary/html_.py
index d89ae97..2c0f72f 100644
--- a/framework/summary/html_.py
+++ b/framework/summary/html_.py
@@ -54,8 +54,6 @@ _TEMP_DIR = os.path.join(
_TEMPLATE_DIR = os.path.join(os.path.dirname(__file__), '../..', 'templates')
_TEMPLATES = TemplateLookup(
_TEMPLATE_DIR,
- output_encoding="utf-8",
- encoding_errors='replace',
module_directory=os.path.join(_TEMP_DIR, "html-summary"))
--
2.7.0
More information about the Piglit
mailing list