Enable Ruff RSE (#113695)

This commit is contained in:
Sid
2024-03-18 00:40:38 +01:00
committed by GitHub
parent 685553d17d
commit 82a60fe8ad
155 changed files with 325 additions and 324 deletions

View File

@@ -40,7 +40,7 @@ def _mock_cond_socket(sockname):
"""Return addr if it matches the mock sockname."""
if self._addr == sockname:
return [sockname]
raise AttributeError()
raise AttributeError
return CondMockSock()