ClickHouse/dbms/tests/integration/conftest.py
2017-05-22 17:56:41 +04:00

6 lines
223 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)