Ejemplo n.º 1
0
def test_cp24117():
    if False:  #Expectation
        AreEqual(DR.cp24117(xrange), "<type 'xrange'>")
        AreEqual(DR.cp24117(xrange(3)), "xrange(3)")
    else:  #Actual
        AreEqual(DR.cp24117(xrange), "IronPython.Runtime.Types.PythonType")
        AreEqual(DR.cp24117(xrange(3)), "IronPython.Runtime.XRange")
 def test_cp24117(self):
     import IronPythonTest.DynamicRegressions as DR
     self.assertEqual(DR.cp24117(xrange),
                      "IronPython.Runtime.Types.PythonType")
     self.assertEqual(DR.cp24117(xrange(3)), "IronPython.Runtime.XRange")
Ejemplo n.º 3
0
def test_cp24117():
    AreEqual(DR.cp24117(xrange), "IronPython.Runtime.Types.PythonType")
    AreEqual(DR.cp24117(xrange(3)), "IronPython.Runtime.XRange")
Ejemplo n.º 4
0
def test_cp24117():
    AreEqual(DR.cp24117(xrange), "IronPython.Runtime.Types.PythonType")
    AreEqual(DR.cp24117(xrange(3)), "IronPython.Runtime.XRange")
 def test_cp24117(self):
     import IronPythonTest.DynamicRegressions as DR
     self.assertEqual(DR.cp24117(xrange),    "IronPython.Runtime.Types.PythonType")
     self.assertEqual(DR.cp24117(xrange(3)), "IronPython.Runtime.XRange")