Skip to content

Commit d8b9a3b

Browse files
committed
crc32 doesn't take any args
1 parent 28e66bb commit d8b9a3b

File tree

1 file changed

+1
-1
lines changed
  • crates/numcodecs-python/src

1 file changed

+1
-1
lines changed

crates/numcodecs-python/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ mod tests {
325325
assert_eq!(codec.class().codec_id()?, "crc32");
326326

327327
// create a codec using the class
328-
let codec = class.codec_from_config(config.as_borrowed())?;
328+
let codec = class.codec_from_config(PyDict::new_bound(py).as_borrowed())?;
329329

330330
// check the codec's config
331331
let config = codec.get_config()?;

0 commit comments

Comments
 (0)