commit | ad2e39fd2ef8a465f8c19e69e8498b6b14faa45a | [log] [tgz] |
---|---|---|
author | Aaron Smith <aaron.smith@microsoft.com> | Tue Apr 03 00:22:12 2018 +0000 |
committer | Aaron Smith <aaron.smith@microsoft.com> | Tue Apr 03 00:22:12 2018 +0000 |
tree | 313ca0a8e58deb74759b18280a2129a9f02f747c | |
parent | 2784c35c0ffbfc67e3e48d35ee8cfe9a1f06cfa2 [diff] |
[lit] Prefer opening files with open (Python 2) rather than io.open which requires io. Only rely on Python 3 (io.open) when necessary. This puts TestRunnyer.py closer to how it behaved before the changes introduced in D43165 and silences a few Windows build bot failures. Thanks to Stella Stamenova for the patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329037 91177308-0d34-0410-b5e6-96231b3b80d8