diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2024-07-28 13:37:35 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-07-30 14:13:12 -0400 |
| commit | 077d540c10a103fd5a41d0747b8140fef87b02ef (patch) | |
| tree | 731978e5e407011fee278da2f848617b6958652d /unittests/rewritetests.py | |
| parent | 28ab1ce39a7889c681cf6874f9062baa97b1f5f7 (diff) | |
| download | meson-077d540c10a103fd5a41d0747b8140fef87b02ef.tar.gz | |
unittests: fix EncodingWarnings. minus 123 warnings collected by pytest
Diffstat (limited to 'unittests/rewritetests.py')
| -rw-r--r-- | unittests/rewritetests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/rewritetests.py b/unittests/rewritetests.py index af5e204dc..a9e72b369 100644 --- a/unittests/rewritetests.py +++ b/unittests/rewritetests.py @@ -28,7 +28,7 @@ class RewriterTests(BasePlatformTests): if isinstance(args, str): args = [args] command = self.rewrite_command + ['--verbose', '--skip', '--sourcedir', directory] + args - p = subprocess.run(command, capture_output=True, text=True, timeout=60) + p = subprocess.run(command, capture_output=True, encoding='utf-8', text=True, timeout=60) print('STDOUT:') print(p.stdout) print('STDERR:') |
