[PATCH] D34464: lit: Make sure testnames are unicode strings

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 14:58:19 PDT 2017


chapuni added inline comments.


================
Comment at: utils/lit/lit/Test.py:232
+        # as str objects when they don't decode cleanly.
+        if sys.version_info < (3,0,0):
+            testpath = testpath.decode(sys.getfilesystemencoding(),
----------------
Could you make it work without checking version?
(I haven't tested yet)


Repository:
  rL LLVM

https://reviews.llvm.org/D34464





More information about the llvm-commits mailing list