Skip to content

Commit f6e20e2

Browse files
gpsheadsrinivasreddy
authored andcommitted
Add the missing f on an f-string error message in multiprocessing. (pythonGH-127462)
1 parent 1aa1f2f commit f6e20e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/multiprocessing/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ def answer_challenge(connection, authkey: bytes):
963963
f'Protocol error, expected challenge: {message=}')
964964
message = message[len(_CHALLENGE):]
965965
if len(message) < _MD5ONLY_MESSAGE_LENGTH:
966-
raise AuthenticationError('challenge too short: {len(message)} bytes')
966+
raise AuthenticationError(f'challenge too short: {len(message)} bytes')
967967
digest = _create_response(authkey, message)
968968
connection.send_bytes(digest)
969969
response = connection.recv_bytes(256) # reject large message

0 commit comments

Comments
 (0)