aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-15 14:53:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-15 14:53:15 +0300
commitd7aa933ab3cc9ad617e8022f1c35531a06b40453 (patch)
treea6e237f20656e2457ec4b2b92e5d70bd326c0c4f /test
parentTravis: run stress_test.py (diff)
downloadmath-server-d7aa933ab3cc9ad617e8022f1c35531a06b40453.tar.gz
math-server-d7aa933ab3cc9ad617e8022f1c35531a06b40453.zip
stress_test.py: make it work with older Python
Diffstat (limited to '')
-rwxr-xr-xtest/stress_test.py2
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)