Address clippy::identity_conversion issues
This commit is contained in:
parent
247c8b5f1c
commit
0de22c665f
|
@ -715,7 +715,7 @@ mod test {
|
|||
.unwrap()
|
||||
.call_method("array", ("f", (1.0, 1.5, 2.0, 2.5)), None)
|
||||
.unwrap();
|
||||
let buffer = PyBuffer::get(py, array.into()).unwrap();
|
||||
let buffer = PyBuffer::get(py, array).unwrap();
|
||||
assert_eq!(buffer.dimensions(), 1);
|
||||
assert_eq!(buffer.item_count(), 4);
|
||||
assert_eq!(buffer.format().to_str().unwrap(), "f");
|
||||
|
|
Loading…
Reference in New Issue