Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Unified Diff: client/tests/isolate_format_test.py

Issue 1390773002: Add an assert to ensure UTF-8 locale when handling file paths. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: More fixes Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tests/file_path_test.py ('k') | client/tests/isolate_smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/isolate_format_test.py
diff --git a/client/tests/isolate_format_test.py b/client/tests/isolate_format_test.py
index 50b605e65bd9743b8acb3c0d6159d4f33bee1ac0..9ab5a5d72251f9acb79f843650e5327bfe2fcf5d 100755
--- a/client/tests/isolate_format_test.py
+++ b/client/tests/isolate_format_test.py
@@ -16,6 +16,7 @@ sys.path.insert(0, os.path.join(ROOT_DIR, 'third_party'))
import isolate_format
from depot_tools import auto_stub
+from depot_tools import fix_encoding
from utils import file_path
@@ -994,6 +995,7 @@ class IsolateFormatTmpDirTest(unittest.TestCase):
if __name__ == '__main__':
+ fix_encoding.fix_encoding()
logging.basicConfig(
level=logging.DEBUG if '-v' in sys.argv else logging.ERROR,
format='%(levelname)5s %(filename)15s(%(lineno)3d): %(message)s')
« no previous file with comments | « client/tests/file_path_test.py ('k') | client/tests/isolate_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698