import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three") :
    raise RuntimeError("testfunc failed!")
Beispiel #2
0
import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three"):
    raise RuntimeError("testfunc failed!")

if (python_varargs_typemap.testfunc(1, 2.0, "three", "four", "five") !=
        "threefourfive"):
    raise RuntimeError("testfunc failed! {}")
import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three"):
    raise RuntimeError("testfunc failed!")

if (python_varargs_typemap.testfunc(1, 2.0, "three", "four", "five") != "threefourfive"):
    raise RuntimeError("testfunc failed! {}")
import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three"):
    raise RuntimeError("testfunc failed!")