From d7aa933ab3cc9ad617e8022f1c35531a06b40453 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 15 Mar 2020 14:53:15 +0300 Subject: stress_test.py: make it work with older Python --- test/stress_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/stress_test.py b/test/stress_test.py index bde76ea..b7d095b 100755 --- a/test/stress_test.py +++ b/test/stress_test.py @@ -154,7 +154,7 @@ def _run_client(client, stdin): cmd = client.get_command_line() with timer('Client invocation'): result = subprocess.run(cmd, stdout=PIPE, stderr=PIPE, input=stdin, - text=True, check=True) + universal_newlines=True, check=True) return Output(result.stdout) -- cgit v1.2.3