Skip to content

Commit

Permalink
crc32 doesn't take any args
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Jul 19, 2024
1 parent 28e66bb commit d8b9a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/numcodecs-python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ mod tests {
assert_eq!(codec.class().codec_id()?, "crc32");

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

// check the codec's config
let config = codec.get_config()?;
Expand Down

0 comments on commit d8b9a3b

Please sign in to comment.