(err: &PyObject, vm: &VirtualMachine)
| 1131 | } |
| 1132 | #[inline] |
| 1133 | fn is_decode_err(err: &PyObject, vm: &VirtualMachine) -> bool { |
| 1134 | err.fast_isinstance(vm.ctx.exceptions.unicode_decode_error) |
| 1135 | } |
| 1136 | #[inline] |
| 1137 | fn is_translate_err(err: &PyObject, vm: &VirtualMachine) -> bool { |
| 1138 | err.fast_isinstance(vm.ctx.exceptions.unicode_translate_error) |
no test coverage detected