mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE] fix remaining flake8 v7 warnings (#159044)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/159044 Approved by: https://github.com/Skylion007 ghstack dependencies: #159043
This commit is contained in:
committed by
PyTorch MergeBot
parent
f903bc475c
commit
f5e2de928b
@ -201,7 +201,7 @@ class _TestMultiProcessing:
|
||||
try:
|
||||
os.kill(pid, 0)
|
||||
except ProcessLookupError:
|
||||
pids.remove(pid)
|
||||
pids.remove(pid) # noqa: B909
|
||||
break
|
||||
|
||||
# This assert fails if any nested child process is still
|
||||
|
Reference in New Issue
Block a user