Fix TestSourceManager.py on Windows.
authorAdrian McCarthy <amccarth@google.com>
Mon, 25 Jan 2016 19:13:35 +0000 (19:13 +0000)
committerAdrian McCarthy <amccarth@google.com>
Mon, 25 Jan 2016 19:13:35 +0000 (19:13 +0000)
commit60897300c5dd2bfcf0677c4746acda78a0093126
tree997b8a100bf20fd4d6266b1d4dfb574a24461895
parenta392810bea652716c660af509035e178cee75a6b
Fix TestSourceManager.py on Windows.

Python 3.5 is picky about writing strings to binary files, so we now open the
file in text mode, and we explicitly set the newline mode to avoid re-writing
it with CR+LF on Windows (which causes git to think the file had changed).

llvm-svn: 258704
lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py