about summary refs log tree commit diff stats
path: root/test/jitter/test_post_instr.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-05-18 13:17:57 +0200
committerGitHub <noreply@github.com>2018-05-18 13:17:57 +0200
commitf45613e84c4de409342d1b971e7ce0234173ffc4 (patch)
tree244766e52d6fd83917de117ee3c14b830de8cb84 /test/jitter/test_post_instr.py
parentf6a9db54b4f385d680abfe91b33c7c5f577118cb (diff)
parent53273fa3b21e618cd9cc745624787450bc441476 (diff)
downloadmiasm-f45613e84c4de409342d1b971e7ce0234173ffc4.tar.gz
miasm-f45613e84c4de409342d1b971e7ce0234173ffc4.zip
Merge pull request #747 from serpilliere/asmblobk_bad_jit
Asmblobk bad jit
Diffstat (limited to '')
-rw-r--r--test/jitter/test_post_instr.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/jitter/test_post_instr.py b/test/jitter/test_post_instr.py
index 3e68d58e..edf86645 100644
--- a/test/jitter/test_post_instr.py
+++ b/test/jitter/test_post_instr.py
@@ -1,6 +1,6 @@
+import sys
 from miasm2.analysis.machine import Machine
 from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE, EXCEPT_BREAKPOINT_MEMORY, EXCEPT_ACCESS_VIOL
-import sys
 
 machine = Machine("x86_32")
 jitter = machine.jitter(sys.argv[1])
@@ -41,6 +41,3 @@ try:
     jitter.continue_run()
 except AssertionError:
     assert jitter.vm.get_exception() == EXCEPT_ACCESS_VIOL
-except RuntimeError:
-    assert sys.argv[1] == 'python'
-    assert jitter.vm.get_exception() == EXCEPT_ACCESS_VIOL