()
| 99 | |
| 100 | |
| 101 | def test_block_add_hook_baseexception(): |
| 102 | # Raising BaseException will propagate out when adding a hook |
| 103 | with assertRaises(BaseException): |
| 104 | with TestHook( |
| 105 | raise_on_events="sys.addaudithook", exc_type=BaseException |
| 106 | ) as hook1: |
| 107 | # Adding this next hook should raise BaseException |
| 108 | with TestHook() as hook2: |
| 109 | pass |
| 110 | |
| 111 | |
| 112 | def test_marshal(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…