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

Unified Diff: client/tests/trace_inputs/touch_only.py

Issue 2093593002: luci-py: Making __file__ usage unicode safe. (Closed) Base URL: https://github.com/luci/luci-py.git@master
Patch Set: Small fixes. Created 4 years, 6 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/threading_utils_test.py ('k') | client/tests/trace_inputs_smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/trace_inputs/touch_only.py
diff --git a/client/tests/trace_inputs/touch_only.py b/client/tests/trace_inputs/touch_only.py
index 4a424ba0ff7721676e83d4ed8c2e630ba038b226..fdd9b78a6eaad96b15f917316651c21f8d3c2ae7 100755
--- a/client/tests/trace_inputs/touch_only.py
+++ b/client/tests/trace_inputs/touch_only.py
@@ -9,7 +9,8 @@ import os
import sys
-BASE_DIR = os.path.dirname(os.path.abspath(__file__))
+BASE_DIR = os.path.dirname(os.path.abspath(
+ __file__.decode(sys.getfilesystemencoding())))
def main():
« no previous file with comments | « client/tests/threading_utils_test.py ('k') | client/tests/trace_inputs_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698