mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE][Ez]: Update ruff to 0.7.4 (#140806)
Updates ruff to 0.7.4, mainly updates false pos/negatives for rules and fixes some bad autofixes. Pull Request resolved: https://github.com/pytorch/pytorch/pull/140806 Approved by: https://github.com/cyyever, https://github.com/malfet
This commit is contained in:
committed by
PyTorch MergeBot
parent
de34f581f1
commit
c05eff278a
@ -2479,10 +2479,8 @@ except RuntimeError as e:
|
||||
@unittest.skipIf(not HAS_PSUTIL, "psutil not found")
|
||||
@slowTest
|
||||
def test_proper_exit(self):
|
||||
(
|
||||
r"""There might be ConnectionResetError or leaked semaphore warning """
|
||||
r"""(due to dirty process exit), but they are all safe to ignore"""
|
||||
)
|
||||
"""There might be ConnectionResetError or leaked semaphore warning
|
||||
(due to dirty process exit), but they are all safe to ignore"""
|
||||
|
||||
# TODO: test the case where the pin_memory_thread triggers an
|
||||
# error/fatal signal. I haven't found out how to properly do that.
|
||||
|
Reference in New Issue
Block a user