()
| 22 | CACHE = dis.opmap["CACHE"] |
| 23 | |
| 24 | def get_tb(): |
| 25 | def _error(): |
| 26 | try: |
| 27 | 1 / 0 |
| 28 | except Exception as e: |
| 29 | tb = e.__traceback__ |
| 30 | return tb |
| 31 | |
| 32 | tb = _error() |
| 33 | while tb.tb_next: |
| 34 | tb = tb.tb_next |
| 35 | return tb |
| 36 | |
| 37 | TRACEBACK_CODE = get_tb().tb_frame.f_code |
| 38 |
no test coverage detected
searching dependent graphs…