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/suites/test_native.py | |
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/suites/test_native.py')
-rw-r--r-- | unittests/suites/test_native.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |