diff options
author | Mike Frysinger <vapier@google.com> | 2019-06-13 02:30:51 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2019-06-13 14:30:52 +0000 |
commit | f601376e13e6beca7ab8d660e00d6c14714f305f (patch) | |
tree | beeeb25f4ff9fda3ff494ca3a39aca347d237b13 /tests | |
parent | 31067c0ac583af2304ffe52c11df8b14c6162502 (diff) | |
download | git-repo-f601376e13e6beca7ab8d660e00d6c14714f305f.tar.gz |
set default file encoding to utf-8
There's no reason to support any other encoding in these files.
This only affects the files themselves and not streams they open.
Bug: https://crbug.com/gerrit/10418
Change-Id: I053cb40cd3666ce5c8a0689b9dd938f24ca765bf
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_git_config.py | 2 | ||||
-rw-r--r-- | tests/test_wrapper.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_git_config.py b/tests/test_git_config.py index 3d4b9970..8773b0b9 100644 --- a/tests/test_git_config.py +++ b/tests/test_git_config.py | |||
@@ -1,3 +1,5 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
2 | |||
1 | import os | 3 | import os |
2 | import unittest | 4 | import unittest |
3 | 5 | ||
diff --git a/tests/test_wrapper.py b/tests/test_wrapper.py index fb32e38a..d20641b9 100644 --- a/tests/test_wrapper.py +++ b/tests/test_wrapper.py | |||
@@ -1,3 +1,4 @@ | |||
1 | # -*- coding:utf-8 -*- | ||
1 | # | 2 | # |
2 | # Copyright (C) 2015 The Android Open Source Project | 3 | # Copyright (C) 2015 The Android Open Source Project |
3 | # | 4 | # |