From 318212a929e14093f19ab658d28e7764828249ea Mon Sep 17 00:00:00 2001 From: zhangyifan27 Date: Fri, 29 Apr 2022 11:00:54 +0800 Subject: [PATCH] reformat py --- .../test_groupBitmapAndState_on_distributed_table.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/integration/test_groupBitmapAnd_on_distributed/test_groupBitmapAndState_on_distributed_table.py b/tests/integration/test_groupBitmapAnd_on_distributed/test_groupBitmapAndState_on_distributed_table.py index eab504a6642..774b7708587 100644 --- a/tests/integration/test_groupBitmapAnd_on_distributed/test_groupBitmapAndState_on_distributed_table.py +++ b/tests/integration/test_groupBitmapAnd_on_distributed/test_groupBitmapAndState_on_distributed_table.py @@ -77,7 +77,8 @@ def test_groupBitmapAndState_on_distributed_table(start_cluster): for node in (node1, node2): result = node.query( "select bitmapCardinality(groupBitmapAndState(z)) FROM {};".format( - distributed_table_name) + distributed_table_name + ) ).strip() assert result == expected @@ -126,12 +127,14 @@ def test_groupBitmapAndState_on_different_version_nodes(start_cluster): # We will get wrong result when query distribute table if the cluster contains old version server result = node3.query( "select bitmapCardinality(groupBitmapAndState(z)) FROM {};".format( - distributed_table_name) + distributed_table_name + ) ).strip() assert result == "10" result = node4.query( "select bitmapCardinality(groupBitmapAndState(z)) FROM {};".format( - distributed_table_name) + distributed_table_name + ) ).strip() assert result == "1"