aboutsummaryrefslogtreecommitdiff
path: root/framework/test
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2018-11-08 19:00:04 +0000
committerEric Engestrom <eric@engestrom.ch>2018-11-08 20:17:27 +0000
commit1cdfa43c5cb7b18f2f384c7867e99737f7351f3d (patch)
tree7e937e87482062545dcde95cd1eb416b4e5871a0 /framework/test
parent5b3566f78490026b38ff03d602655ce3afb5ecb1 (diff)
downloadpiglit-1cdfa43c5cb7b18f2f384c7867e99737f7351f3d.tar.gz
python: add explicit utf-8 encoding
I went with `# coding=utf-8` as it was the most common format in the existing code: 24 # coding=utf-8 21 ## coding=utf-8 19 # encoding=utf-8 9 ## encoding=utf-8 6 # -*- coding: utf-8 -*- I added it as the first line after the shebang, if any. Suggested-by: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'framework/test')
-rw-r--r--framework/test/__init__.py1
-rw-r--r--framework/test/base.py1
-rw-r--r--framework/test/deqp.py1
-rw-r--r--framework/test/glsl_parser_test.py1
-rw-r--r--framework/test/gtest.py1
-rw-r--r--framework/test/oclconform.py1
-rw-r--r--framework/test/opencv.py1
-rw-r--r--framework/test/opengl.py1
-rw-r--r--framework/test/piglit_test.py1
-rw-r--r--framework/test/shader_test.py1
10 files changed, 10 insertions, 0 deletions
diff --git a/framework/test/__init__.py b/framework/test/__init__.py
index d305929d5..daf3b6d41 100644
--- a/framework/test/__init__.py
+++ b/framework/test/__init__.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2014,2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/test/base.py b/framework/test/base.py
index f187c0210..6e719cc78 100644
--- a/framework/test/base.py
+++ b/framework/test/base.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/framework/test/deqp.py b/framework/test/deqp.py
index 042a522b2..5db2a922f 100644
--- a/framework/test/deqp.py
+++ b/framework/test/deqp.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2014-2016,2018 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/test/glsl_parser_test.py b/framework/test/glsl_parser_test.py
index 1cce65036..ef89fe062 100644
--- a/framework/test/glsl_parser_test.py
+++ b/framework/test/glsl_parser_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
diff --git a/framework/test/gtest.py b/framework/test/gtest.py
index b331a2fb3..dbb461368 100644
--- a/framework/test/gtest.py
+++ b/framework/test/gtest.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2013, 2014 Advanced Micro Devices, Inc.
#
diff --git a/framework/test/oclconform.py b/framework/test/oclconform.py
index 0a644995d..65b10b2b8 100644
--- a/framework/test/oclconform.py
+++ b/framework/test/oclconform.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
diff --git a/framework/test/opencv.py b/framework/test/opencv.py
index a31d5626b..3cbdb02f8 100644
--- a/framework/test/opencv.py
+++ b/framework/test/opencv.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright 2016 Intel Corporation
# Copyright 2014 Advanced Micro Devices, Inc.
#
diff --git a/framework/test/opengl.py b/framework/test/opengl.py
index 3c8460e28..0566fb0a8 100644
--- a/framework/test/opengl.py
+++ b/framework/test/opengl.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (c) 2015-2016 Intel Corporation
# Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index 83398bf6a..f52b0150a 100644
--- a/framework/test/piglit_test.py
+++ b/framework/test/piglit_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
index 4487e5d19..3f6f7bb0f 100644
--- a/framework/test/shader_test.py
+++ b/framework/test/shader_test.py
@@ -1,3 +1,4 @@
+# coding=utf-8
# Copyright (C) 2012, 2014-2016 Intel Corporation
#
# Permission is hereby granted, free of charge, to any person