From 751f84405eb1138b7a9b75bfb51be161a62057e4 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 15 Aug 2021 11:34:11 -0400 Subject: pyupgrade --py37-plus --- unittests/baseplatformtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/baseplatformtests.py') 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: -- cgit v1.1