Lines Matching full:actual
25 def sorted_list_difference(expected, actual):
29 elements in the "expected" list but not in the "actual" list, and the
30 second contains those elements in the "actual" list but not in the
39 a = actual[j]
48 while actual[j] == a:
57 while actual[j] == a:
61 unexpected.extend(actual[j:])
65 def unorderable_list_difference(expected, actual, ignore_duplicate=False):
77 actual.remove(item)
81 for lst in expected, actual:
88 while actual:
89 item = actual.pop()
93 actual.remove(item)
98 # anything left in actual is unexpected
99 return missing, actual