python: clean up test_*.py
diff --git a/bindings/python/test.py b/bindings/python/test.py
index 6819919..79e2cf9 100755
--- a/bindings/python/test.py
+++ b/bindings/python/test.py
@@ -6,7 +6,7 @@
 import binascii
 import sys
 
-from xprint import to_hex, to_x, to_x_32
+from xprint import to_hex
 
 _python3 = sys.version_info.major == 3
 
diff --git a/bindings/python/test_all.py b/bindings/python/test_all.py
index fcc443d..c9bbe4c 100755
--- a/bindings/python/test_all.py
+++ b/bindings/python/test_all.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
 import test, test_arm, test_arm64, test_detail, test_lite, test_mips, test_ppc, \
-    test_x86, test_skipdata, test_sparc, test_systemz
+    test_x86, test_skipdata, test_sparc, test_systemz, test_customized_mnem
 
 
 test.test_class()
@@ -15,3 +15,4 @@
 test_systemz.test_class()
 test_x86.test_class()
 test_skipdata.test_class()
+test_customized_mnem.test()
diff --git a/bindings/python/test_arm.py b/bindings/python/test_arm.py
index 54cb2d6..0f3a0eb 100755
--- a/bindings/python/test_arm.py
+++ b/bindings/python/test_arm.py
@@ -5,7 +5,7 @@
 from __future__ import print_function
 from capstone import *
 from capstone.arm import *
-from xprint import to_hex, to_x, to_x_32
+from xprint import to_hex, to_x_32
 
 
 ARM_CODE = b"\x86\x48\x60\xf4\xED\xFF\xFF\xEB\x04\xe0\x2d\xe5\x00\x00\x00\x00\xe0\x83\x22\xe5\xf1\x02\x03\x0e\x00\x00\xa0\xe3\x02\x30\xc1\xe7\x00\x00\x53\xe3\x00\x02\x01\xf1\x05\x40\xd0\xe8\xf4\x80\x00\x00"
diff --git a/bindings/python/test_lite.py b/bindings/python/test_lite.py
index 6f592e1..33b8427 100755
--- a/bindings/python/test_lite.py
+++ b/bindings/python/test_lite.py
@@ -3,7 +3,6 @@
 # Capstone Python bindings, by Nguyen Anh Quynnh <aquynh@gmail.com>
 from __future__ import print_function
 from capstone import *
-import binascii
 from xprint import to_hex
 
 
diff --git a/bindings/python/test_ppc.py b/bindings/python/test_ppc.py
index 57076f9..1a069ba 100755
--- a/bindings/python/test_ppc.py
+++ b/bindings/python/test_ppc.py
@@ -4,7 +4,7 @@
 from __future__ import print_function
 from capstone import *
 from capstone.ppc import *
-from xprint import to_x, to_hex, to_x_32
+from xprint import to_hex, to_x_32
 
 PPC_CODE = b"\x43\x20\x0c\x07\x41\x56\xff\x17\x80\x20\x00\x00\x80\x3f\x00\x00\x10\x43\x23\x0e\xd0\x44\x00\x80\x4c\x43\x22\x02\x2d\x03\x00\x80\x7c\x43\x20\x14\x7c\x43\x20\x93\x4f\x20\x00\x21\x4c\xc8\x00\x21\x40\x82\x00\x14"
 PPC_CODE2 = b"\x10\x60\x2a\x10\x10\x64\x28\x88\x7c\x4a\x5d\x0f"
diff --git a/bindings/python/test_skipdata.py b/bindings/python/test_skipdata.py
index e785444..0caa20b 100755
--- a/bindings/python/test_skipdata.py
+++ b/bindings/python/test_skipdata.py
@@ -5,7 +5,7 @@
 from __future__ import print_function
 from capstone import *
 import binascii
-from xprint import to_x, to_hex, to_x_32
+from xprint import to_hex
 
 
 X86_CODE32 = b"\x8d\x4c\x32\x08\x01\xd8\x81\xc6\x34\x12\x00\x00\x00\x91\x92"
diff --git a/bindings/python/test_sparc.py b/bindings/python/test_sparc.py
index 058b4d3..96fae5b 100755
--- a/bindings/python/test_sparc.py
+++ b/bindings/python/test_sparc.py
@@ -5,7 +5,7 @@
 from __future__ import print_function
 from capstone import *
 from capstone.sparc import *
-from xprint import to_x, to_hex, to_x_32
+from xprint import to_hex, to_x_32
 
 
 SPARC_CODE = b"\x80\xa0\x40\x02\x85\xc2\x60\x08\x85\xe8\x20\x01\x81\xe8\x00\x00\x90\x10\x20\x01\xd5\xf6\x10\x16\x21\x00\x00\x0a\x86\x00\x40\x02\x01\x00\x00\x00\x12\xbf\xff\xff\x10\xbf\xff\xff\xa0\x02\x00\x09\x0d\xbf\xff\xff\xd4\x20\x60\x00\xd4\x4e\x00\x16\x2a\xc2\x80\x03"
diff --git a/bindings/python/test_systemz.py b/bindings/python/test_systemz.py
index 56b7ddb..ca9deb7 100755
--- a/bindings/python/test_systemz.py
+++ b/bindings/python/test_systemz.py
@@ -5,7 +5,7 @@
 from __future__ import print_function
 from capstone import *
 from capstone.systemz import *
-from xprint import to_x, to_hex, to_x_32
+from xprint import to_x, to_hex
 
 
 SYSZ_CODE = b"\xed\x00\x00\x00\x00\x1a\x5a\x0f\x1f\xff\xc2\x09\x80\x00\x00\x00\x07\xf7\xeb\x2a\xff\xff\x7f\x57\xe3\x01\xff\xff\x7f\x57\xeb\x00\xf0\x00\x00\x24\xb2\x4f\x00\x78\xec\x18\x00\x00\xc1\x7f"
diff --git a/bindings/python/test_xcore.py b/bindings/python/test_xcore.py
index 5878aec..0460a6d 100755
--- a/bindings/python/test_xcore.py
+++ b/bindings/python/test_xcore.py
@@ -5,7 +5,7 @@
 from __future__ import print_function
 from capstone import *
 from capstone.xcore import *
-from xprint import to_x, to_hex, to_x_32
+from xprint import to_x, to_hex
 
 
 XCORE_CODE = b"\xfe\x0f\xfe\x17\x13\x17\xc6\xfe\xec\x17\x97\xf8\xec\x4f\x1f\xfd\xec\x37\x07\xf2\x45\x5b\xf9\xfa\x02\x06\x1b\x10\x09\xfd\xec\xa7"