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

Unified Diff: client/libs/logdog/tests/bootstrap_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/example/common.py ('k') | client/libs/logdog/tests/stream_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/libs/logdog/tests/bootstrap_test.py
diff --git a/client/libs/logdog/tests/bootstrap_test.py b/client/libs/logdog/tests/bootstrap_test.py
index c4ffe20c84480eb70ce22d1875baa02783595c9c..0d5f968dcd4be3303c753ac01ae7b8e6b2ff7ad2 100755
--- a/client/libs/logdog/tests/bootstrap_test.py
+++ b/client/libs/logdog/tests/bootstrap_test.py
@@ -8,7 +8,8 @@ import sys
import unittest
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 bootstrap
« no previous file with comments | « client/example/common.py ('k') | client/libs/logdog/tests/stream_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698