Skip to content

Commit b93199f

Browse files
committed
Update test_context.py from CPython v3.12.0
1 parent 07f013d commit b93199f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_context.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import time
77
import unittest
88
import weakref
9+
from test import support
910
from test.support import threading_helper
1011

1112
try:
@@ -608,6 +609,7 @@ def test_hamt_collision_3(self):
608609

609610
self.assertEqual({k.name for k in h.keys()}, {'C', 'D', 'E'})
610611

612+
@support.requires_resource('cpu')
611613
def test_hamt_stress(self):
612614
COLLECTION_SIZE = 7000
613615
TEST_ITERS_EVERY = 647

0 commit comments

Comments
 (0)