diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-15 14:53:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-03-15 14:53:15 +0300 |
commit | d7aa933ab3cc9ad617e8022f1c35531a06b40453 (patch) | |
tree | a6e237f20656e2457ec4b2b92e5d70bd326c0c4f | |
parent | Travis: run stress_test.py (diff) | |
download | math-server-d7aa933ab3cc9ad617e8022f1c35531a06b40453.tar.gz math-server-d7aa933ab3cc9ad617e8022f1c35531a06b40453.zip |
stress_test.py: make it work with older Python
-rwxr-xr-x | test/stress_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |