diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-15 11:34:11 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-01-10 18:36:56 -0500 |
commit | 751f84405eb1138b7a9b75bfb51be161a62057e4 (patch) | |
tree | 3f7f0ee76eddabc80be6d166406dd14c7bca0258 /run_project_tests.py | |
parent | ad525dcce45487def9d3950bed159f1c158e3581 (diff) | |
download | meson-751f84405eb1138b7a9b75bfb51be161a62057e4.zip meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.gz meson-751f84405eb1138b7a9b75bfb51be161a62057e4.tar.bz2 |
pyupgrade --py37-plus
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-x | run_project_tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/run_project_tests.py b/run_project_tests.py index 822cf0b..5fea660 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -926,8 +926,7 @@ def have_d_compiler() -> bool: # that exists but segfaults every time the compiler is run. # Don't know why. Don't know how to fix. Skip in this case. cp = subprocess.run(['dmd', '--version'], - stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + capture_output=True) if cp.stdout == b'': return False return True |