|
|
@ -32,8 +32,7 @@ class RewriterTests(BasePlatformTests): |
|
|
|
if isinstance(args, str): |
|
|
|
if isinstance(args, str): |
|
|
|
args = [args] |
|
|
|
args = [args] |
|
|
|
command = self.rewrite_command + ['--verbose', '--skip', '--sourcedir', directory] + args |
|
|
|
command = self.rewrite_command + ['--verbose', '--skip', '--sourcedir', directory] + args |
|
|
|
p = subprocess.run(command, capture_output=True, |
|
|
|
p = subprocess.run(command, capture_output=True, text=True, timeout=60) |
|
|
|
text=True, timeout=60) |
|
|
|
|
|
|
|
print('STDOUT:') |
|
|
|
print('STDOUT:') |
|
|
|
print(p.stdout) |
|
|
|
print(p.stdout) |
|
|
|
print('STDERR:') |
|
|
|
print('STDERR:') |
|
|
|