Skip to content

Commit

Permalink
patched the test to include into_py
Browse files Browse the repository at this point in the history
  • Loading branch information
iliya-malecki committed Aug 13, 2023
1 parent 920312f commit 00db5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversions/num_bigint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ mod tests {
($T:ty, $value:expr, $py:expr) => {
let value = $value;
println!("{}: {}", stringify!($T), value);
let python_value = value.clone().to_object(py);
let python_value = value.clone().into_py(py);
let roundtrip_value = python_value.extract::<$T>(py).unwrap();
assert_eq!(value, roundtrip_value);
};
Expand Down

0 comments on commit 00db5e7

Please sign in to comment.