Comparing lists of dictionaries,"return [d for d in list1 if (d['classname'], d['testname']) not in check]"