summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-10-03 22:12:42 +0000
committerChris Bieneman <beanz@apple.com>2016-10-03 22:12:42 +0000
commit1f49329e81fd11c357d45b457ba2e8eb28df1288 (patch)
tree439c11fcfb0fa3edaaa70a5a9ab36222ba1db33f /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
parent9baa3e80a9abcc4ebb72e5a83a3269b36021de78 (diff)
downloadbcm5719-llvm-1f49329e81fd11c357d45b457ba2e8eb28df1288.tar.gz
bcm5719-llvm-1f49329e81fd11c357d45b457ba2e8eb28df1288.zip
[lit] Use argparse instead of optparse
Summary: optparse is deprecated in Python 2.7, which is the minimum version of Python required to run the LLVM test suite. Replace its usage in lit with argparse, optparse's 2.7 replacement module. argparse has several benefits over optparse, but this commit does not make use of those benefits yet. Instead, it simply uses the new API, and attempts to keep the number of changes to a minimum. Confirmed that lit's test suite, as well as LLVM's regression test suite, still pass with these changes. Patch By Brian Gesiak! Reviewers: ddunbar, echristo, beanz, delcypher Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D25173 llvm-svn: 283152
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud