teak-llvm/lldb/packages/Python/lldbsuite/test/python_api/file_handle
Pavel Labath 44506cd7f2 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
2019-10-10 12:07:30 +00:00
..
TestFileHandle.py TestFileHandle.py: relax exception type checks 2019-10-10 12:07:30 +00:00