()
| 82 | |
| 83 | |
| 84 | def test_basic(): |
| 85 | with TestHook() as hook: |
| 86 | sys.audit("test_event", 1, 2, 3) |
| 87 | assertEqual(hook.seen[0][0], "test_event") |
| 88 | assertEqual(hook.seen[0][1], (1, 2, 3)) |
| 89 | |
| 90 | |
| 91 | def test_block_add_hook(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…