diff --git a/Lib/test/test_profiling/test_sampling_profiler/helpers.py b/Lib/test/test_profiling/test_sampling_profiler/helpers.py index abd5a7377ad68e..f1c01afd0fa555 100644 --- a/Lib/test/test_profiling/test_sampling_profiler/helpers.py +++ b/Lib/test/test_profiling/test_sampling_profiler/helpers.py @@ -83,7 +83,7 @@ def test_subprocess(script): response = client_socket.recv(1024) if response != b"ready": raise RuntimeError( - f"Unexpected response from subprocess: {response}" + f"Unexpected response from subprocess: {response!r}" ) yield SubprocessInfo(proc, client_socket)