aboutsummaryrefslogtreecommitdiff
path: root/run_meson_command_tests.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 /run_meson_command_tests.py
parentad525dcce45487def9d3950bed159f1c158e3581 (diff)
downloadmeson-751f84405eb1138b7a9b75bfb51be161a62057e4.zip
meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.gz
meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.bz2
pyupgrade --py37-plus
Diffstat (limited to 'run_meson_command_tests.py')
-rwxr-xr-xrun_meson_command_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_meson_command_tests.py b/run_meson_command_tests.py
index 45096c6..36cb02e 100755
--- a/run_meson_command_tests.py
+++ b/run_meson_command_tests.py
@@ -70,7 +70,7 @@ class CommandTests(unittest.TestCase):
# between CI issue and test bug in that case. Set timeout and fail loud
# instead.
p = subprocess.run(command, stdout=subprocess.PIPE,
- env=os.environ.copy(), universal_newlines=True,
+ env=os.environ.copy(), text=True,
cwd=workdir, timeout=60 * 5)
print(p.stdout)
if p.returncode != 0: