Add mistakenly ignored test again

This commit is contained in:
Alexander Niederbühl 2019-04-24 22:41:59 +02:00
parent 60cd0d09c4
commit e912900926
1 changed files with 1 additions and 2 deletions

View File

@ -482,7 +482,6 @@ mod test {
}
}
#[ignore]
#[test]
fn test_pyobject_drop() {
gil::init_once();
@ -501,7 +500,7 @@ mod test {
assert_eq!(ffi::Py_REFCNT(obj_ptr), 2);
}
drop(obj);
assert_eq!(ffi::Py_REFCNT(obj_ptr), 1);
assert_eq!(ffi::Py_REFCNT(obj_ptr), 2);
{
let _gil = Python::acquire_gil();