(err: &PyObject, vm: &VirtualMachine)
| 1135 | } |
| 1136 | #[inline] |
| 1137 | fn is_translate_err(err: &PyObject, vm: &VirtualMachine) -> bool { |
| 1138 | err.fast_isinstance(vm.ctx.exceptions.unicode_translate_error) |
| 1139 | } |
| 1140 | |
| 1141 | fn bad_err_type(err: PyObjectRef, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 1142 | vm.new_type_error(format!( |
no test coverage detected