Searched refs:opt_compare (Results 1 – 2 of 2) sorted by relevance
17 def opt_compare(a: T, b: T) -> bool: function23 assert opt_compare(a, b)30 assert opt_compare(None, 1) == True31 assert opt_compare(2, None) == True32 assert opt_compare(1, 1) == True33 assert opt_compare(1, 2) == False
62 if any(not opt_compare(a, b) for a,b in zip(self, other)):