(vm: &VirtualMachine)
| 3357 | } |
| 3358 | |
| 3359 | fn timeout_error(vm: &VirtualMachine) -> PyRef<PyOSError> { |
| 3360 | timeout_error_msg(vm, "timed out".to_owned()) |
| 3361 | } |
| 3362 | pub(crate) fn timeout_error_msg(vm: &VirtualMachine, msg: String) -> PyRef<PyOSError> { |
| 3363 | vm.new_os_subtype_error(timeout(vm), None, msg) |
| 3364 | } |
no test coverage detected