Skip to content

Commit 8885f31

Browse files
committed
More simplifications
1 parent a465573 commit 8885f31

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Lib/test/test_free_threading/test_collections.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ def test_copy_race(self):
1313
d = deque(range(100))
1414

1515
def mutate():
16-
i = 0
17-
for _ in range(1000):
16+
for i in range(1000):
1817
d.append(i)
1918
if len(d) > 200:
2019
d.popleft()
21-
i += 1
2220

2321
def copy_loop():
2422
for _ in range(1000):

0 commit comments

Comments
 (0)