Home
last modified time | relevance | path

Searched refs:__getnewargs__ (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_complex.py493 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0))
494 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0))
495 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0))
496 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0))
497 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
498 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
Dtest_collections.py216 self.assertEqual(t.__getnewargs__(), values)
Dtest_descr.py3233 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C1
3245 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C2