Uncomment a test
This commit is contained in:
parent
eca943ea35
commit
d1e967e9ea
|
@ -629,14 +629,14 @@ mod tests {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// #[test]
|
#[test]
|
||||||
// fn test_try_from_unchecked() {
|
fn test_try_from_unchecked() {
|
||||||
// Python::with_gil(|py| {
|
Python::with_gil(|py| {
|
||||||
// let list = PyList::new(py, [1, 2, 3]);
|
let list = PyList::new(py, [1, 2, 3]);
|
||||||
// let val = unsafe { <PyList as PyTryFrom>::try_from_unchecked(list.as_ref()) };
|
let val = unsafe { <PyList as PyTryFrom>::try_from_unchecked(list.as_ref()) };
|
||||||
// assert!(list.is(val));
|
assert!(list.is(val));
|
||||||
// });
|
});
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue