summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-10 12:40:27 +0000
committerPavel Labath <pavel@labath.sk>2019-10-10 12:40:27 +0000
commit342b1b2e9b376835f17630d9697be4b78a019389 (patch)
tree5fd0e96f1940321128f925cf1961128e0a6b2c9a /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
parent837a1b84ced64b3cf3dfdedb98fdcc187582892d (diff)
downloadbcm5719-llvm-342b1b2e9b376835f17630d9697be4b78a019389.tar.gz
bcm5719-llvm-342b1b2e9b376835f17630d9697be4b78a019389.zip
File: Handle more cases in GetOptionsFromMode
The "b" (binary) flag is meaningless most of the time, but the relevant standars allow it. The standards permit one to spell it both as "r+b" and "rb+", so handle both cases. This fixes TestFileHandle.test_binary_inout with python2. llvm-svn: 374331
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud