python: fix bugs in test.py & test_lite.py
diff --git a/bindings/python/test.py b/bindings/python/test.py
index a2e400e..be60fb3 100755
--- a/bindings/python/test.py
+++ b/bindings/python/test.py
@@ -40,7 +40,7 @@
### Test cs_disasm_quick()
def test_cs_disasm_quick():
- for (arch, mode, code, comment) in all_tests:
+ for (arch, mode, code, comment, syntax) in all_tests:
print('*' * 40)
print("Platform: %s" %comment)
print("Disasm:"),
diff --git a/bindings/python/test_lite.py b/bindings/python/test_lite.py
index 553640f..7d08c2a 100755
--- a/bindings/python/test_lite.py
+++ b/bindings/python/test_lite.py
@@ -40,7 +40,7 @@
### Test cs_disasm_quick()
def test_cs_disasm_quick():
- for (arch, mode, code, comment) in all_tests:
+ for (arch, mode, code, comment, syntax) in all_tests:
print('*' * 40)
print("Platform: %s" %comment)
print("Disasm:"),
@@ -73,6 +73,6 @@
print("ERROR: %s" %e)
-test_cs_disasm_quick()
+#test_cs_disasm_quick()
#print "*" * 40
-#test_class()
+test_class()