diff options
-rw-r--r-- | Lib/test/test_weakref.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_weakref.py b/Lib/test/test_weakref.py index ef2fe92..2b9b2a0 100644 --- a/Lib/test/test_weakref.py +++ b/Lib/test/test_weakref.py @@ -2025,6 +2025,7 @@ class MappingTestCase(TestBase): raise exc[0] @threading_helper.requires_working_threading() + @support.requires_resource('cpu') def test_threaded_weak_key_dict_copy(self): # Issue #35615: Weakref keys or values getting GC'ed during dict # copying should not result in a crash. @@ -2038,6 +2039,7 @@ class MappingTestCase(TestBase): self.check_threaded_weak_dict_copy(weakref.WeakKeyDictionary, True) @threading_helper.requires_working_threading() + @support.requires_resource('cpu') def test_threaded_weak_value_dict_copy(self): # Issue #35615: Weakref keys or values getting GC'ed during dict # copying should not result in a crash. |