aboutsummaryrefslogtreecommitdiff
path: root/unittests/baseplatformtests.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-08-15 11:34:11 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-01-10 18:36:56 -0500
commit751f84405eb1138b7a9b75bfb51be161a62057e4 (patch)
tree3f7f0ee76eddabc80be6d166406dd14c7bca0258 /unittests/baseplatformtests.py
parentad525dcce45487def9d3950bed159f1c158e3581 (diff)
downloadmeson-751f84405eb1138b7a9b75bfb51be161a62057e4.zip
meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.gz
meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.bz2
pyupgrade --py37-plus
Diffstat (limited to 'unittests/baseplatformtests.py')
-rw-r--r--unittests/baseplatformtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/baseplatformtests.py b/unittests/baseplatformtests.py
index bd2f902..2f8064e 100644
--- a/unittests/baseplatformtests.py
+++ b/unittests/baseplatformtests.py
@@ -160,7 +160,7 @@ class BasePlatformTests(TestCase):
p = subprocess.run(command, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT, env=env,
encoding='utf-8',
- universal_newlines=True, cwd=workdir, timeout=60 * 5)
+ text=True, cwd=workdir, timeout=60 * 5)
print(p.stdout)
if p.returncode != 0:
if 'MESON_SKIP_TEST' in p.stdout: