else: func(arg) if is_cli: import clr import System clrRefInt = clr.Reference[int](0) UInt32Max = System.UInt32.MaxValue Byte10 = System.Byte.Parse('10') SBytem10 = System.SByte.Parse('-10') Int1610 = System.Int16.Parse('10') Int16m20 = System.Int16.Parse('-20') UInt163 = System.UInt16.Parse('3') arrayInt = array_int((10, 20)) tupleInt = ((10, 20), ) listInt = ([10, 20], ) tupleLong1, tupleLong2 = ((long(10), long(20)), ), ((System.Int64.MaxValue, System.Int32.MaxValue * 2), ) arrayByte = array_byte((10, 20)) arrayObj = array_object(['str', 10]) @skipUnlessIronPython() class MethodBinder2Test(IronPythonTestCase): def setUp(self): super(MethodBinder2Test, self).setUp() self.load_iron_python_test()
else: func(*arg) else: func(arg) if is_cli: import clr import System clrRefInt = clr.Reference[int](0) UInt32Max = System.UInt32.MaxValue Byte10 = System.Byte.Parse('10') SBytem10 = System.SByte.Parse('-10') Int1610 = System.Int16.Parse('10') Int16m20 = System.Int16.Parse('-20') UInt163 = System.UInt16.Parse('3') arrayInt = array_int((10, 20)) tupleInt = ((10, 20), ) listInt = ([10, 20], ) tupleLong1, tupleLong2 = ((10L, 20L), ), ((System.Int64.MaxValue, System.Int32.MaxValue * 2),) arrayByte = array_byte((10, 20)) arrayObj = array_object(['str', 10]) @skipUnlessIronPython() class MethodBinder2Test(IronPythonTestCase): def setUp(self): super(MethodBinder2Test, self).setUp() self.load_iron_python_test() import System from IronPythonTest.BinderTest import I, C1, C3