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/sanity.py
index 13f7859fb..88bf27457 100644
--- a/tests/sanity.py
+++ b/tests/sanity.py
@@ -1,3 +1,4 @@
+# encoding=utf-8
 # Copyright © 2018 Intel Corporation
 
 # Permission is hereby granted, free of charge, to any person obtaining a copy
-- 
2.18.0

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to