We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e66bb commit d8b9a3bCopy full SHA for d8b9a3b
crates/numcodecs-python/src/lib.rs
@@ -325,7 +325,7 @@ mod tests {
325
assert_eq!(codec.class().codec_id()?, "crc32");
326
327
// create a codec using the class
328
- let codec = class.codec_from_config(config.as_borrowed())?;
+ let codec = class.codec_from_config(PyDict::new_bound(py).as_borrowed())?;
329
330
// check the codec's config
331
let config = codec.get_config()?;
0 commit comments