Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_descr.py351 def spamdict(d, memo=None): function
353 sd = spam.spamdict()
358 copy._deepcopy_dispatch[spam.spamdict] = spamdict
360 self.binop_test(spamdict({1:2}), spamdict({2:1}), -1, "cmp(a,b)",
362 self.binop_test(spamdict({1:2,3:4}), 1, 1, "b in a", "__contains__")
363 self.binop_test(spamdict({1:2,3:4}), 2, 0, "b in a", "__contains__")
364 self.binop_test(spamdict({1:2,3:4}), 1, 2, "a[b]", "__getitem__")
365 d = spamdict({1:2,3:4})
378 for i in type(spamdict({})).__iter__(d):
382 spamd = spamdict(straightd)
[all …]