File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -566,6 +566,7 @@ class TestRacesDoNotCrash(TestBase):
566
566
# Careful with these. Bigger numbers have a higher chance of catching bugs,
567
567
# but you can also burn through a *ton* of type/dict/function versions:
568
568
ITEMS = 1000
569
+ SMALL_ITEMS = 100
569
570
LOOPS = 4
570
571
WRITERS = 2
571
572
@@ -609,7 +610,7 @@ class C:
609
610
__getitem__ = lambda self , item : None
610
611
611
612
items = []
612
- for _ in range (self .ITEMS ):
613
+ for _ in range (self .SMALL_ITEMS ):
613
614
item = C ()
614
615
items .append (item )
615
616
return items
@@ -780,7 +781,7 @@ class C:
780
781
__getattribute__ = lambda self , name : None
781
782
782
783
items = []
783
- for _ in range (self .ITEMS ):
784
+ for _ in range (self .SMALL_ITEMS ):
784
785
item = C ()
785
786
items .append (item )
786
787
return items
You can’t perform that action at this time.
0 commit comments