mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-29 17:08:49 +08:00
ruff rule ANN202 missing-return-type-private-function (#15298)
* ruff rule ANN202 missing-return-type-private-function * ruff rule ANN202 missing-return-type-private-function
This commit is contained in:
@@ -5,7 +5,7 @@ from file_transfer.send_file import send_file
|
||||
|
||||
@patch("socket.socket")
|
||||
@patch("builtins.open")
|
||||
def test_send_file_running_as_expected(file, sock):
|
||||
def test_send_file_running_as_expected(file, sock) -> None:
|
||||
# ===== initialization =====
|
||||
conn = Mock()
|
||||
sock.return_value.accept.return_value = conn, Mock()
|
||||
|
||||
Reference in New Issue
Block a user