Home | History | Annotate | Download | only in unittest

Lines Matching refs:elem

101     'Returns list of (cnt_act, cnt_exp, elem) triples where the counts differ'
107 for i, elem in enumerate(s):
108 if elem is NULL:
112 if s[j] == elem:
116 if other_elem == elem:
120 diff = _Mismatch(cnt_s, cnt_t, elem)
123 for i, elem in enumerate(t):
124 if elem is NULL:
128 if t[j] == elem:
131 diff = _Mismatch(0, cnt_t, elem)
138 for elem in iterable:
139 c[elem] = c.get(elem, 0) + 1
143 'Returns list of (cnt_act, cnt_exp, elem) triples where the counts differ'
147 for elem, cnt_s in s.items():
148 cnt_t = t.get(elem, 0)
150 diff = _Mismatch(cnt_s, cnt_t, elem)
152 for elem, cnt_t in t.items():
153 if elem not in s:
154 diff = _Mismatch(0, cnt_t, elem)