diff --git a/tests/pytest/util/sql.py b/tests/pytest/util/sql.py index b7c6dce0186f15d6e4bf45942bf567a0c762d522..580fc8ee47b8c336c9cd15234f1169f83ca28727 100644 --- a/tests/pytest/util/sql.py +++ b/tests/pytest/util/sql.py @@ -61,7 +61,7 @@ class TDSql: self.cursor.execute(s) s = 'use db' self.cursor.execute(s) - time.sleep(2) + time.sleep(2) def error(self, sql): expectErrNotOccured = True @@ -249,7 +249,7 @@ class TDSql: raise Exception(repr(e)) return self.queryResult - + def executeTimes(self, sql, times): for i in range(times): try: