mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Add expect message
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user