forked from Rust-related/RustPython
Update zlib from 3.12.6 and _ZlibDecompressor implementation (#5476)
* add is_s390x and skip_on_s390x to test support * update zlib tests to 3.12 * _ZlibDecompressor implementation
This commit is contained in:
@@ -394,4 +394,9 @@ impl VirtualMachine {
|
||||
obj.as_object(),
|
||||
)
|
||||
}
|
||||
|
||||
pub fn new_eof_error(&self, msg: String) -> PyBaseExceptionRef {
|
||||
let eof_error = self.ctx.exceptions.eof_error.to_owned();
|
||||
self.new_exception_msg(eof_error, msg)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user