@@ -0,0 +1,574 @@
+import util%0Aimport sys%0A%0Aclass test_conversion:%0A    def init(self):%0A        yield %22a = M.arange(1);%22%0A%0A    def test_float(self, cmd):%0A        cmd += %22res = float(a);%22%0A        return cmd%0A%0A    def test_int(self, cmd):%0A        cmd += %22res = int(a);%22%0A        return cmd%0A%0A    if sys.version_info%5B0%5D %3C 3:%0A        def test_oct(self, cmd):%0A            cmd += %22res = oct(a);%22%0A            return cmd%0A%0A        def test_hex(self, cmd):%0A            cmd += %22res = hex(a);%22%0A            return cmd%0A%0A        def test_long(self, cmd):%0A            cmd += %22res = long(a);%22%0A            return cmd%0A

Test conversion (e.g. float()) works