This commit is contained in:
Blaz Snuderl 2024-02-03 21:14:31 +01:00
parent 9641b11752
commit 507ea28b27
1 changed files with 2 additions and 0 deletions

View File

@ -311,6 +311,8 @@ fn test_inc_dec_ref() {
#[test]
#[cfg(Py_3_12)]
fn test_inc_dec_ref_immortal() {
use crate::types::any::PyAnyMethods;
Python::with_gil(|py| {
let obj = py.None();