(message: impl Into<String>, vm: &VirtualMachine)
| 466 | } |
| 467 | |
| 468 | fn new_zlib_error(message: impl Into<String>, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 469 | let msg: String = message.into(); |
| 470 | vm.new_exception_msg(vm.class("zlib", "error"), msg.into()) |
| 471 | } |
| 472 | |
| 473 | struct Level(Option<flate2::Compression>); |
| 474 |
no test coverage detected