mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
b75963d370
This PR formats all the `*.py` files found under the `tests/integration` folder. It also reorders the imports and cleans up a bunch of unused imports. The formatting also takes care of other things like wrapping lines and fixing spaces and indents such that the tests look more readable.
7 lines
224 B
Python
7 lines
224 B
Python
from helpers.test_tools import TSV
|
|
|
|
|
|
def pytest_assertrepr_compare(op, left, right):
|
|
if isinstance(left, TSV) and isinstance(right, TSV) and op == '==':
|
|
return ['TabSeparated values differ: '] + left.diff(right)
|