blob: f3a70e8256c665451f7d14aa3b3e3fc224ef4e17 (
plain)
1
2
3
4
5
6
7
|
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! {}")
|