mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Automatic style fix
This commit is contained in:
parent
0df796f617
commit
d3404db055
@ -1161,7 +1161,11 @@ class TestCase:
|
||||
universal_newlines=True,
|
||||
)
|
||||
if self.show_whitespaces_in_diff:
|
||||
sed_proc = Popen(["sed", "-e", "s/[ \t]\\+$/&$/g"], stdin=diff_proc.stdout, stdout=PIPE)
|
||||
sed_proc = Popen(
|
||||
["sed", "-e", "s/[ \t]\\+$/&$/g"],
|
||||
stdin=diff_proc.stdout,
|
||||
stdout=PIPE,
|
||||
)
|
||||
diff_proc.stdout.close() # Allow diff to receive a SIGPIPE if cat exits.
|
||||
diff = sed_proc.communicate()[0].decode("utf-8", errors="ignore")
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user