test_descr.py | 305 # Testing spamlist operations... 308 def spamlist(l, memo=None): function in function:OperatorsTest.test_spam_lists 310 return spam.spamlist(l) 313 copy._deepcopy_dispatch[spam.spamlist] = spamlist 315 self.binop_test(spamlist([1]), spamlist([2]), spamlist([1,2]), "a+b", 317 self.binop_test(spamlist([1,2,3]), 2, 1, "b in a", "__contains__") 318 self.binop_test(spamlist([1,2,3]), 4, 0, "b in a", "__contains__" [all...] |