Searched refs:getargs_d (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 363 from _testcapi import getargs_d 364 self.assertEqual(getargs_d(4.25), 4.25) 365 self.assertEqual(getargs_d(4), 4.0) 366 self.assertRaises(TypeError, getargs_d, 4.25+0j) 367 self.assertEqual(getargs_d(Float()), 4.25) 368 self.assertEqual(getargs_d(FloatSubclass(7.5)), 7.5) 369 self.assertEqual(getargs_d(FloatSubclass2(7.5)), 7.5) 370 self.assertRaises(TypeError, getargs_d, BadFloat()) 371 self.assertEqual(getargs_d(BadFloat2()), 4.25) 372 self.assertEqual(getargs_d(BadFloat3(7.5)), 7.5) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 483 from _testcapi import getargs_d 484 self.assertEqual(getargs_d(4.25), 4.25) 485 self.assertEqual(getargs_d(4), 4.0) 486 self.assertRaises(TypeError, getargs_d, 4.25+0j) 487 self.assertEqual(getargs_d(Float()), 4.25) 488 self.assertEqual(getargs_d(FloatSubclass(7.5)), 7.5) 489 self.assertEqual(getargs_d(FloatSubclass2(7.5)), 7.5) 490 self.assertRaises(TypeError, getargs_d, BadFloat()) 492 self.assertEqual(getargs_d(BadFloat2()), 4.25) 493 self.assertEqual(getargs_d(BadFloat3(7.5)), 7.5) [all …]
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1252 getargs_d(PyObject *self, PyObject *args) in getargs_d() function 2721 {"getargs_d", getargs_d, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1275 getargs_d(PyObject *self, PyObject *args) in getargs_d() function 5390 {"getargs_d", getargs_d, METH_VARARGS},
|