mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Update test_context.py from CPython v3.12.0
This commit is contained in:
1 parent
07f013dae2
commit
b93199f007
1 file changed
+2
Vendored
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user