diff options
author | Pavel Labath <pavel@labath.sk> | 2019-10-10 12:40:27 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-10-10 12:40:27 +0000 |
commit | 342b1b2e9b376835f17630d9697be4b78a019389 (patch) | |
tree | 5fd0e96f1940321128f925cf1961128e0a6b2c9a /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py | |
parent | 837a1b84ced64b3cf3dfdedb98fdcc187582892d (diff) | |
download | bcm5719-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