/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
mapping_tests.py | 450 class dictlike(self.type2test): pass class in function:TestMappingProtocol.test_fromkeys 451 self.assertEqual(dictlike.fromkeys('a'), {'a':None}) 452 self.assertEqual(dictlike().fromkeys('a'), {'a':None}) 453 self.assertTrue(dictlike.fromkeys('a').__class__ is dictlike) 454 self.assertTrue(dictlike().fromkeys('a').__class__ is dictlike) 456 # self.assertTrue(type(dictlike.fromkeys('a')) is dictlike)
|
test_dict.py | 218 class dictlike(dict): pass class in function:DictTest.test_fromkeys 219 self.assertEqual(dictlike.fromkeys('a'), {'a':None}) 220 self.assertEqual(dictlike().fromkeys('a'), {'a':None}) 221 self.assertIsInstance(dictlike.fromkeys('a'), dictlike) 222 self.assertIsInstance(dictlike().fromkeys('a'), dictlike)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
mapping_tests.py | 450 class dictlike(self.type2test): pass class in function:TestMappingProtocol.test_fromkeys 451 self.assertEqual(dictlike.fromkeys('a'), {'a':None}) 452 self.assertEqual(dictlike().fromkeys('a'), {'a':None}) 453 self.assertTrue(dictlike.fromkeys('a').__class__ is dictlike) 454 self.assertTrue(dictlike().fromkeys('a').__class__ is dictlike) 456 # self.assertTrue(type(dictlike.fromkeys('a')) is dictlike)
|
test_dict.py | 218 class dictlike(dict): pass class in function:DictTest.test_fromkeys 219 self.assertEqual(dictlike.fromkeys('a'), {'a':None}) 220 self.assertEqual(dictlike().fromkeys('a'), {'a':None}) 221 self.assertIsInstance(dictlike.fromkeys('a'), dictlike) 222 self.assertIsInstance(dictlike().fromkeys('a'), dictlike)
|