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

Unified Diff: client/libs/logdog/tests/streamname_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/stream_test.py ('k') | client/libs/logdog/tests/varint_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/libs/logdog/tests/streamname_test.py
diff --git a/client/libs/logdog/tests/streamname_test.py b/client/libs/logdog/tests/streamname_test.py
index 408ee75f54900654c625b2d0e67d893566386317..f5898a4fe02825e83dc9dfa73a360646aa37bb52 100755
--- a/client/libs/logdog/tests/streamname_test.py
+++ b/client/libs/logdog/tests/streamname_test.py
@@ -9,7 +9,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 streamname
« no previous file with comments | « client/libs/logdog/tests/stream_test.py ('k') | client/libs/logdog/tests/varint_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698