(obj: &PyObjectRef, vm: &VirtualMachine)
| 2758 | } |
| 2759 | |
| 2760 | fn is_cancelled_error_obj(obj: &PyObjectRef, vm: &VirtualMachine) -> bool { |
| 2761 | match get_cancelled_error_type(vm) { |
| 2762 | Ok(cancelled_error) => obj.fast_isinstance(&cancelled_error), |
| 2763 | Err(_) => false, |
| 2764 | } |
| 2765 | } |
| 2766 | } |
no test coverage detected