Add expect message
@@ -198,7 +198,7 @@ fn dedup_and_flatten_args(args: PyTupleRef, vm: &VirtualMachine) -> PyTupleRef {
if !new_args.iter().any(|param| {
param
.rich_compare_bool(arg, PyComparisonOp::Eq, vm)
- .unwrap()
+ .expect("types are always comparable")
}) {
new_args.push(arg.clone());
}
