File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2025,6 +2025,7 @@ def pop_and_collect(lst):
2025
2025
raise exc [0 ]
2026
2026
2027
2027
@threading_helper .requires_working_threading ()
2028
+ @support .requires_resource ('cpu' )
2028
2029
def test_threaded_weak_key_dict_copy (self ):
2029
2030
# Issue #35615: Weakref keys or values getting GC'ed during dict
2030
2031
# copying should not result in a crash.
@@ -2038,6 +2039,7 @@ def test_threaded_weak_key_dict_deepcopy(self):
2038
2039
self .check_threaded_weak_dict_copy (weakref .WeakKeyDictionary , True )
2039
2040
2040
2041
@threading_helper .requires_working_threading ()
2042
+ @support .requires_resource ('cpu' )
2041
2043
def test_threaded_weak_value_dict_copy (self ):
2042
2044
# Issue #35615: Weakref keys or values getting GC'ed during dict
2043
2045
# copying should not result in a crash.
You can’t perform that action at this time.
0 commit comments