diff options
Diffstat (limited to 'test/jitter/test_post_instr.py')
| -rw-r--r-- | test/jitter/test_post_instr.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/jitter/test_post_instr.py b/test/jitter/test_post_instr.py index 5a690e6b..896ce597 100644 --- a/test/jitter/test_post_instr.py +++ b/test/jitter/test_post_instr.py @@ -36,9 +36,7 @@ jitter.set_trace_log() def do_not_raise_me(jitter): raise ValueError("Should not be here") -jitter.exceptions_handler.callbacks[EXCEPT_BREAKPOINT_MEMORY] = [] -jitter.add_exception_handler(EXCEPT_BREAKPOINT_MEMORY, - do_not_raise_me) +jitter.add_exception_handler(EXCEPT_BREAKPOINT_MEMORY, do_not_raise_me) jitter.vm.add_memory_breakpoint(0x11000-4, 4, PAGE_READ | PAGE_WRITE) # The memory write pending will raise automod exception |