summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/frame/main.c
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-10 12:07:30 +0000
committerPavel Labath <pavel@labath.sk>2019-10-10 12:07:30 +0000
commit44506cd7f2b0758d37611d405beb6eb1f6f90f17 (patch)
tree5f89d1451bfaf4036db04538922520e3356cad84 /lldb/packages/Python/lldbsuite/test/python_api/frame/main.c
parent38ac46b4bc1697f796efc73450814c69c36bc81c (diff)
downloadbcm5719-llvm-44506cd7f2b0758d37611d405beb6eb1f6f90f17.tar.gz
bcm5719-llvm-44506cd7f2b0758d37611d405beb6eb1f6f90f17.zip
TestFileHandle.py: relax exception type checks
the exceptions returned differ between swig4 (TypeError) and swig<=3 (NotImplementedError). Just check for the base Exception class instead. Theoretically we could switch on the swig version and expect the precise type directly, but checking the exact type does not seem that important. Thanks to Raphael for helping me figure this out. llvm-svn: 374322
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud