summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_context.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_context.py')
-rw-r--r--Lib/test/test_context.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_context.py b/Lib/test/test_context.py
index b72d5ad..255be30 100644
--- a/Lib/test/test_context.py
+++ b/Lib/test/test_context.py
@@ -6,6 +6,7 @@ import random
import time
import unittest
import weakref
+from test import support
from test.support import threading_helper
try:
@@ -570,6 +571,7 @@ class HamtTest(unittest.TestCase):
self.assertEqual({k.name for k in h.keys()}, {'C', 'D', 'E'})
+ @support.requires_resource('cpu')
def test_hamt_stress(self):
COLLECTION_SIZE = 7000
TEST_ITERS_EVERY = 647