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

Unified Diff: client/libs/logdog/tests/varint_test.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/libs/logdog/tests/streamname_test.py ('k') | client/run_isolated.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/libs/logdog/tests/varint_test.py
diff --git a/client/libs/logdog/tests/varint_test.py b/client/libs/logdog/tests/varint_test.py
index eb53fd18cbae9ec5682c8b6f2984435caee5ebd8..0dbbf8df00070c6571846b7793d02358e7b5f0b0 100755
--- a/client/libs/logdog/tests/varint_test.py
+++ b/client/libs/logdog/tests/varint_test.py
@@ -10,7 +10,8 @@ import unittest
import StringIO
ROOT_DIR = os.path.dirname(os.path.abspath(os.path.join(
- __file__, os.pardir, os.pardir, os.pardir)))
+ __file__.decode(sys.getfilesystemencoding()),
+ os.pardir, os.pardir, os.pardir)))
sys.path.insert(0, ROOT_DIR)
from libs.logdog import varint
« no previous file with comments | « client/libs/logdog/tests/streamname_test.py ('k') | client/run_isolated.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698