condense lines

pull/9510/head
Eli Schwartz 3 years ago
parent 751f84405e
commit be6e09bfdb
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 3
      unittests/rewritetests.py

@ -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:')

Loading…
Cancel
Save