Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_descr.py306 def spamlist(l, memo=None): function
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__")
317 self.binop_test(spamlist([1,2,3]), 1, 2, "a[b]", "__getitem__")
318 self.ternop_test(spamlist([1,2,3]), 0, 2, spamlist([1,2]), "a[b:c]",
320 self.setop_test(spamlist([1]), spamlist([2]), spamlist([1,2]), "a+=b",
322 self.setop_test(spamlist([1,2]), 3, spamlist([1,2,1,2,1,2]), "a*=b",
[all …]