/external/python/cpython2/Lib/test/ |
test_descr.py | 312 # Testing spamlist operations... 315 def spamlist(l, memo=None): function in function:OperatorsTest.test_spam_lists 317 return spam.spamlist(l) 320 copy._deepcopy_dispatch[spam.spamlist] = spamlist 322 self.binop_test(spamlist([1]), spamlist([2]), spamlist([1,2]), "a+b", 324 self.binop_test(spamlist([1,2,3]), 2, 1, "b in a", "__contains__") 325 self.binop_test(spamlist([1,2,3]), 4, 0, "b in a", "__contains__" [all...] |
/external/python/cpython3/Lib/test/ |
test_descr.py | 295 # Testing spamlist operations... 298 def spamlist(l, memo=None): function in function:OperatorsTest.test_spam_lists 300 return spam.spamlist(l) 303 copy._deepcopy_dispatch[spam.spamlist] = spamlist 305 self.binop_test(spamlist([1]), spamlist([2]), spamlist([1,2]), "a+b", 307 self.binop_test(spamlist([1,2,3]), 2, 1, "b in a", "__contains__") 308 self.binop_test(spamlist([1,2,3]), 4, 0, "b in a", "__contains__" [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_descr.py | 303 # Testing spamlist operations...
306 def spamlist(l, memo=None):
function in function:OperatorsTest.test_spam_lists 308 return spam.spamlist(l)
311 copy._deepcopy_dispatch[spam.spamlist] = spamlist
313 self.binop_test(spamlist([1]), spamlist([2]), spamlist([1,2]), "a+b",
315 self.binop_test(spamlist([1,2,3]), 2, 1, "b in a", "__contains__")
316 self.binop_test(spamlist([1,2,3]), 4, 0, "b in a", "__contains__") [all...] |