summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-11-05 01:33:44 +0000
committerZachary Turner <zturner@google.com>2015-11-05 01:33:44 +0000
commit5167115cf63b88e2139ebf1499d9185cdbeae4ac (patch)
tree73ae360847e09ff5fab59b5a15fc5f0801c0ffa9 /lldb/packages/Python/lldbsuite/test/dotest.py
parentedcc92a4c10ad69317d80f432905260fefd386a0 (diff)
downloadbcm5719-llvm-5167115cf63b88e2139ebf1499d9185cdbeae4ac.tar.gz
bcm5719-llvm-5167115cf63b88e2139ebf1499d9185cdbeae4ac.zip
Python 3 - Use universal_newlines=True in subprocess.Popen.
This follows the spirit of a previous patch which did essentially the same thing. In Python 3, when you use Popen.communicate(), you get back a bytes object which cannot normally be treated as a string. We could decode this manually, but universal_newlines=True does this automatically, and there's no disadvantage to doing so even on Python 2. So just enable it always. llvm-svn: 252126
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud