Skip to content

Commit

Permalink
Merge baf3aad into cd39bff
Browse files Browse the repository at this point in the history
  • Loading branch information
rzr committed Apr 8, 2021
2 parents cd39bff + baf3aad commit 4105017
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import errno
import logging
import socket
import sys
import time
import subprocess
import threading
Expand Down Expand Up @@ -186,7 +187,7 @@ def _start_process(self, extra_cmd_args, popen_cwd):
"""Starts the process running the server."""

# The "-u" option forces stdin, stdout and stderr to be unbuffered.
command = ['python', '-u', self.server] + extra_cmd_args
command = [sys.executable, '-u', self.server] + extra_cmd_args

# Reusing one subprocess in multiple tests, but split up the logs for each.
self.__server_process = subprocess.Popen(command,
Expand Down

0 comments on commit 4105017

Please sign in to comment.