diff --git a/src/conversion.rs b/src/conversion.rs index 1370fb2a..3af038af 100644 --- a/src/conversion.rs +++ b/src/conversion.rs @@ -629,14 +629,14 @@ mod tests { }); } - // #[test] - // fn test_try_from_unchecked() { - // Python::with_gil(|py| { - // let list = PyList::new(py, [1, 2, 3]); - // let val = unsafe { ::try_from_unchecked(list.as_ref()) }; - // assert!(list.is(val)); - // }); - // } + #[test] + fn test_try_from_unchecked() { + Python::with_gil(|py| { + let list = PyList::new(py, [1, 2, 3]); + let val = unsafe { ::try_from_unchecked(list.as_ref()) }; + assert!(list.is(val)); + }); + } } #[test]