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

Unified Diff: client/tests/isolate_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/isolate_smoke_test.py ('k') | client/tests/isolated_format_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/isolate_test.py
diff --git a/client/tests/isolate_test.py b/client/tests/isolate_test.py
index 693cfafd923a3b0b6e95a35c72222b2c05987aff..be62ce61f6022a3e473382e03ec5e9d5a64df6e8 100755
--- a/client/tests/isolate_test.py
+++ b/client/tests/isolate_test.py
@@ -19,6 +19,7 @@ sys.path.insert(0, ROOT_DIR)
sys.path.insert(0, os.path.join(ROOT_DIR, 'third_party'))
from depot_tools import auto_stub
+from depot_tools import fix_encoding
import auth
import isolate
import isolate_format
@@ -1619,5 +1620,6 @@ def clear_env_vars():
if __name__ == '__main__':
+ fix_encoding.fix_encoding()
clear_env_vars()
test_utils.main()
« no previous file with comments | « client/tests/isolate_smoke_test.py ('k') | client/tests/isolated_format_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698