summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-10-27 10:19:42 +1300
committerMike Taves <mwtoews@gmail.com>2022-10-27 10:38:56 +1300
commit69a39461de4da2bfc0e6aeeff02c73c0972a8614 (patch)
treecdab4df7d48c675a0961c4386dd3cd90d00dd22d /benchmarks
parent13d55a3c2f016a58a6e9d6b8086f338e07c7478f (diff)
downloadnumpy-69a39461de4da2bfc0e6aeeff02c73c0972a8614.tar.gz
MAINT: change subprocess arguments from Python>=3.7
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/asv_pip_nopep517.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/asv_pip_nopep517.py b/benchmarks/asv_pip_nopep517.py
index 9ba165493..085cbff1f 100644
--- a/benchmarks/asv_pip_nopep517.py
+++ b/benchmarks/asv_pip_nopep517.py
@@ -5,7 +5,7 @@ import subprocess, sys
# pip ignores '--global-option' when pep517 is enabled therefore we disable it.
cmd = [sys.executable, '-mpip', 'wheel', '--no-use-pep517']
try:
- output = subprocess.check_output(cmd, stderr=subprocess.STDOUT, universal_newlines=True)
+ output = subprocess.check_output(cmd, stderr=subprocess.STDOUT, text=True)
except Exception as e:
output = str(e.output)
if "no such option" in output: