Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_descr.py140 def set2op_test(self, a, b, c, res, stmt="a[b]=c", meth="__setitem__"): member in OperatorsTest
191 self.set2op_test([1,2], 1, 3, [1,3], "a[b]=c", "__setitem__")
225 self.set2op_test({1:2,3:4}, 2, 3, {1:2,2:3,3:4}, "a[b]=c",
338 self.set2op_test(spamlist([1,2]), 1, 3, spamlist([1,3]), "a[b]=c",
392 self.set2op_test(spamdict({1:2,3:4}), 2, 3, spamdict({1:2,2:3,3:4}),
/external/python/cpython3/Lib/test/
Dtest_descr.py131 def set2op_test(self, a, b, c, res, stmt="a[b]=c", meth="__setitem__"): member in OperatorsTest
182 self.set2op_test([1,2], 1, 3, [1,3], "a[b]=c", "__setitem__")
212 self.set2op_test({1:2,3:4}, 2, 3, {1:2,2:3,3:4}, "a[b]=c",
321 self.set2op_test(spamlist([1,2]), 1, 3, spamlist([1,3]), "a[b]=c",
373 self.set2op_test(spamdict({1:2,3:4}), 2, 3, spamdict({1:2,2:3,3:4}),