diff options
author | Pavel Labath <pavel@labath.sk> | 2019-10-10 12:07:30 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-10-10 12:07:30 +0000 |
commit | 44506cd7f2b0758d37611d405beb6eb1f6f90f17 (patch) | |
tree | 5f89d1451bfaf4036db04538922520e3356cad84 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 38ac46b4bc1697f796efc73450814c69c36bc81c (diff) | |
download | bcm5719-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 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions