summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-06-13 02:30:51 -0400
committerMike Frysinger <vapier@google.com>2019-06-13 14:30:52 +0000
commitf601376e13e6beca7ab8d660e00d6c14714f305f (patch)
treebeeeb25f4ff9fda3ff494ca3a39aca347d237b13 /tests
parent31067c0ac583af2304ffe52c11df8b14c6162502 (diff)
downloadgit-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.py2
-rw-r--r--tests/test_wrapper.py1
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
1import os 3import os
2import unittest 4import 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#