diff options
author | Eric Engestrom <eric@engestrom.ch> | 2018-11-08 19:00:04 +0000 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2018-11-08 20:17:27 +0000 |
commit | 1cdfa43c5cb7b18f2f384c7867e99737f7351f3d (patch) | |
tree | 7e937e87482062545dcde95cd1eb416b4e5871a0 /unittests | |
parent | 5b3566f78490026b38ff03d602655ce3afb5ecb1 (diff) |
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 'unittests')
29 files changed, 29 insertions, 0 deletions
diff --git a/unittests/framework/backends/test_compression.py b/unittests/framework/backends/test_compression.py index f7b400c51..6d463ada4 100644 --- a/unittests/framework/backends/test_compression.py +++ b/unittests/framework/backends/test_compression.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/unittests/framework/backends/test_json.py b/unittests/framework/backends/test_json.py index ccf445747..2ee1e47ce 100644 --- a/unittests/framework/backends/test_json.py +++ b/unittests/framework/backends/test_json.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/unittests/framework/backends/test_json_update.py b/unittests/framework/backends/test_json_update.py index dca6f9d77..c832886aa 100644 --- a/unittests/framework/backends/test_json_update.py +++ b/unittests/framework/backends/test_json_update.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/unittests/framework/backends/test_junit.py b/unittests/framework/backends/test_junit.py index 06892ca73..260b24099 100644 --- a/unittests/framework/backends/test_junit.py +++ b/unittests/framework/backends/test_junit.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/unittests/framework/backends/test_package.py b/unittests/framework/backends/test_package.py index d668899c1..08df6f0f4 100644 --- a/unittests/framework/backends/test_package.py +++ b/unittests/framework/backends/test_package.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/unittests/framework/summary/test_common.py b/unittests/framework/summary/test_common.py index e1f680187..fd2a0f34d 100644 --- a/unittests/framework/summary/test_common.py +++ b/unittests/framework/summary/test_common.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/unittests/framework/summary/test_console.py b/unittests/framework/summary/test_console.py index 6e6ae8a7d..ccc91e137 100644 --- a/unittests/framework/summary/test_console.py +++ b/unittests/framework/summary/test_console.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/unittests/framework/summary/test_html.py b/unittests/framework/summary/test_html.py index f645b411a..a9d192bfe 100644 --- a/unittests/framework/summary/test_html.py +++ b/unittests/framework/summary/test_html.py @@ -1,3 +1,4 @@ +# coding=utf-8 # Copyright (c) 2015 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/unittests/framework/test/test_base.py b/unittests/framework/test/test_base.py index ad355b1d8..f8d0aa051 100644 --- a/unittests/framework/test/test_base.py +++ b/unittests/framework/test/test_base.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/unittests/framework/test/test_deqp.py b/unittests/framework/test/test_deqp.py index 1c24ab365..b7c1db4eb 100644 --- a/unittests/framework/test/test_deqp.py +++ b/unittests/framework/test/test_deqp.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/unittests/framework/test/test_glsl_parser_test.py b/unittests/framework/test/test_glsl_parser_test.py index a81a1fdb7..1d4476932 100644 --- a/unittests/framework/test/test_glsl_parser_test.py +++ b/unittests/framework/test/test_glsl_parser_test.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/unittests/framework/test/test_gtest.py b/unittests/framework/test/test_gtest.py index 4ea2163dd..900402123 100644 --- a/unittests/framework/test/test_gtest.py +++ b/unittests/framework/test/test_gtest.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/unittests/framework/test/test_opencv.py b/unittests/framework/test/test_opencv.py index c804c0bae..83d017d83 100644 --- a/unittests/framework/test/test_opencv.py +++ b/unittests/framework/test/test_opencv.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/unittests/framework/test/test_opengl.py b/unittests/framework/test/test_opengl.py index c17c4c099..e051787c5 100644 --- a/unittests/framework/test/test_opengl.py +++ b/unittests/framework/test/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/unittests/framework/test/test_piglit_test.py b/unittests/framework/test/test_piglit_test.py index 9c769a6e4..fa906ca2d 100644 --- a/unittests/framework/test/test_piglit_test.py +++ b/unittests/framework/test/test_piglit_test.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/unittests/framework/test/test_shader_test.py b/unittests/framework/test/test_shader_test.py index 623088734..e9a12a40e 100644 --- a/unittests/framework/test/test_shader_test.py +++ b/unittests/framework/test/test_shader_test.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/unittests/framework/test_core.py b/unittests/framework/test_core.py index 823e0d43a..2873582f5 100644 --- a/unittests/framework/test_core.py +++ b/unittests/framework/test_core.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/unittests/framework/test_dmesg.py b/unittests/framework/test_dmesg.py index 6305315a8..0ebb3ca20 100644 --- a/unittests/framework/test_dmesg.py +++ b/unittests/framework/test_dmesg.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/unittests/framework/test_driver_classifier.py b/unittests/framework/test_driver_classifier.py index 4c208421f..801a7ae49 100644 --- a/unittests/framework/test_driver_classifier.py +++ b/unittests/framework/test_driver_classifier.py @@ -1,3 +1,4 @@ +# coding=utf-8 # Copyright (c) 2016 Broadcom # # Permission is hereby granted, free of charge, to any person obtaining a diff --git a/unittests/framework/test_exceptions.py b/unittests/framework/test_exceptions.py index 08f87c993..a66294b69 100644 --- a/unittests/framework/test_exceptions.py +++ b/unittests/framework/test_exceptions.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/unittests/framework/test_log.py b/unittests/framework/test_log.py index e5b9fc9ee..2f4b435c8 100644 --- a/unittests/framework/test_log.py +++ b/unittests/framework/test_log.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/unittests/framework/test_monitoring.py b/unittests/framework/test_monitoring.py index 8627d9f7a..dc820f2b6 100644 --- a/unittests/framework/test_monitoring.py +++ b/unittests/framework/test_monitoring.py @@ -1,3 +1,4 @@ +# coding=utf-8 # Copyright (c) 2016 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/unittests/framework/test_options.py b/unittests/framework/test_options.py index bf296c10c..4d070ab88 100644 --- a/unittests/framework/test_options.py +++ b/unittests/framework/test_options.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/unittests/framework/test_profile.py b/unittests/framework/test_profile.py index 714f7e05a..8f61b31c9 100644 --- a/unittests/framework/test_profile.py +++ b/unittests/framework/test_profile.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/unittests/framework/test_wflinfo.py b/unittests/framework/test_wflinfo.py index bd2d936cc..73450670d 100644 --- a/unittests/framework/test_wflinfo.py +++ b/unittests/framework/test_wflinfo.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/unittests/generators/test_generators.py b/unittests/generators/test_generators.py index ccb57e725..e2a7c7fd4 100644 --- a/unittests/generators/test_generators.py +++ b/unittests/generators/test_generators.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/unittests/suites/test_integration.py b/unittests/suites/test_integration.py index ce8876196..f7a479127 100644 --- a/unittests/suites/test_integration.py +++ b/unittests/suites/test_integration.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/unittests/suites/test_native.py b/unittests/suites/test_native.py index 6055bf664..351759831 100644 --- a/unittests/suites/test_native.py +++ b/unittests/suites/test_native.py @@ -1,3 +1,4 @@ +# coding=utf-8 # Copyright (c) 2014 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/unittests/suites/test_oglconform.py b/unittests/suites/test_oglconform.py index 6e6b690d5..2cce1796c 100644 --- a/unittests/suites/test_oglconform.py +++ b/unittests/suites/test_oglconform.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 |