(trace)
| 80 | |
| 81 | |
| 82 | def ignore_exception_trace(trace): |
| 83 | while trace is not None: |
| 84 | filename = trace.tb_frame.f_code.co_filename |
| 85 | if filename in ("<frozen importlib._bootstrap>", "<frozen importlib._bootstrap_external>"): |
| 86 | # Do not stop on inner exceptions in py3 while importing |
| 87 | return True |
| 88 | |
| 89 | # ImportError should appear in a user's code, not inside debugger |
| 90 | for file in FILES_WITH_IMPORT_HOOKS: |
| 91 | if filename.endswith(file): |
| 92 | return True |
| 93 | |
| 94 | trace = trace.tb_next |
| 95 | |
| 96 | return False |
| 97 | |
| 98 | |
| 99 | def cached_call(obj, func, *args): |
no outgoing calls
no test coverage detected