aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_capi/test_object.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_capi/test_object.py')
-rw-r--r--Lib/test/test_capi/test_object.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_capi/test_object.py b/Lib/test/test_capi/test_object.py
index cd772120bde..d4056727d07 100644
--- a/Lib/test/test_capi/test_object.py
+++ b/Lib/test/test_capi/test_object.py
@@ -221,6 +221,7 @@ class CAPITest(unittest.TestCase):
"""
self.check_negative_refcount(code)
+ @support.requires_resource('cpu')
def test_decref_delayed(self):
# gh-130519: Test that _PyObject_XDecRefDelayed() and QSBR code path
# handles destructors that are possibly re-entrant or trigger a GC.