diff --git a/Lib/test/test_context.py b/Lib/test/test_context.py index 5d62fa040..01b339932 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: @@ -608,6 +609,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