Skip to content

Commit 1be3188

Browse files
committed
Fix mypy error.
1 parent daff555 commit 1be3188

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/libregrtest/refleak.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ def check_fd_deltas(deltas):
208208
return any(deltas)
209209

210210
failed = False
211-
for deltas, item_name, checker in [
211+
for raw_deltas, item_name, checker in [
212212
(rc_deltas, 'references', check_rc_deltas),
213213
(alloc_deltas, 'memory blocks', check_rc_deltas),
214214
(fd_deltas, 'file descriptors', check_fd_deltas)
215215
]:
216216
# ignore warmup runs; convert to a list for reporting
217-
deltas = list(deltas[warmups:])
217+
deltas = list(raw_deltas[warmups:])
218218
failing = checker(deltas)
219219
suspicious = any(deltas)
220220
if failing or suspicious:

0 commit comments

Comments
 (0)