From 19ffe0ca81ad88f8ffe7626e8bad6b9ad8621f6e Mon Sep 17 00:00:00 2001 From: cpwu Date: Fri, 10 Jun 2022 18:08:52 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/leastsquares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-test/2-query/leastsquares.py b/tests/system-test/2-query/leastsquares.py index 8e7c475ea7..ecdbecb526 100644 --- a/tests/system-test/2-query/leastsquares.py +++ b/tests/system-test/2-query/leastsquares.py @@ -167,7 +167,7 @@ class TDTestCase: where_claus = self.__where_condition(query_conditon=select_claus) having_claus = self.__group_condition(col=select_claus, having=f"{select_claus} is not null") for arg in self.start_step_val: - if not isinstance(arg,int): + if not isinstance(arg,int) or isinstance(arg, bool): err_sqls.extend( ( self.__single_sql(select_clause=select_claus, from_clause=tb, start_val=arg),